It seems like you want to participate on our DX Scanner - that's great! We welcome contributions to our open source project on GitHub.
We are glad that you are interested in DX Scanner in the way of contributing. We value the pro-community developers as you are.
- Report an Error or a Bug 🐛
- Request a Feature 🆕
- Contribute to the Code 👨💻👩💻
- Contribute to the Documentation 📝
- Provide Support on Issues ℹ️
If you have any question about this project (for example, how to use it) or if you just need some clarification about anything, please open an Issue at Issues.
Follow these steps:
- Fork & Clone the repository
- Setup the DX Scanner
- Install Yarn with
npm i -g yarn
if not yet installed - Install packages with
yarn install
- Run with
yarn start
- Build with
yarn build
- Run tests with
yarn test
- Lint code with
yarn lint
oryarn lint:fix
with autofixer
- Install Yarn with
- Commit changes to your own branch by convention. See https://www.conventionalcommits.org/en/v1.0.0/
- Push your work back up to your fork
- Submit a Pull Request so that we can review your changes
NOTE: Be sure to merge the latest from "upstream" before making a pull request.
Check your repository for using the correct tooling which improves product development.
We have more than 10 JS/TS practices for now! If you want to add more, you are more than welcome. Check JavaScript Practices to see what is the pattern of implementation of your own practice.
Other languages are not supported yet. If you want to contribute, see Practices. Get inspired by Javascript Practices implementation.
Inspectors indirectly work with Git code hosting providers APIs. They use common interfaces provided by services so you do not have to know which API to use.
There is a File System Service working with files.
Services directly use Git code hosting providers APIs while checking the rate limits. They convert API responses to their own interface so Inspectors can use them. Only the GitHub Service is implemented so far. If you need for example, GitLab Service, you can contribute! Get inspired by GitHub Service
To build a Docker image with DX Scanner run
docker build . -t dxs
and to run
docker run -it -v `pwd`:/usr/app dxs
# or
docker run -it -v `pwd`:/usr/app dxs dx-scanner run .
The DX Scanner open source project is licensed under the MIT License.