✨ Thank you for taking the time to contribute to this project ✨
This project adheres to the American Express Code of Conduct. By contributing, you are expected to honor these guidelines.
-
Fork the repository
eslint-config-amex
to your GitHub account. -
Afterwards run the following commands in your terminal
$ git clone https://github.com/<your-github-username>/eslint-config-amex $ cd eslint-config-amex
replace
your-github-username
with your github username -
Install the dependencies by running
$ npm install
-
You can now run any of these scripts from the root folder.
npm run test:lint
Verifies that your code matches the American Express code style defined in this config.
npm test
Runs unit tests.
npm run test:git-history
Verifies the format of all commit messages on the current branch.
npm posttest
Runs linting on the current branch and checks that the commits follow conventional commits
When submitting a new feature request or enhancement of an existing features please review the following:
Please provide a clear and concise description of what you want and what your use case is.
Please include a snippets of the code of the new feature.
A clear and concise description of the enhancement to be added include a step-by-step guide if applicable. Add any other context or screenshots or animated GIFs about the feature request
A clear and concise description of any alternative solutions or features you've considered.
All issues are submitted within GitHub issues. Please check this before submitting a new issue.
A clear and concise description of what the bug is.
Steps to reproduce the behavior, please provide code snippets or a link to repository
Please provide a description of the expected behavior
If applicable, add screenshots or animated GIFs to help explain your problem.
Provide the system information which is not limited to the below:
- OS: [e.g. macOS, Windows]
- Version of eslint-config-amex: [e.g. 5.0.0]
- Node version:[e.g 14.17.0]
Please review our Security Policy. Please follow the instructions outlined in the policy.
- Join our Slack channel request an invite here
We follow conventional commits for git commit message formatting. These rules make it easier to review commit logs and improve contextual understanding of code changes. This also allows us to auto-generate the CHANGELOG from commit messages.