👍🎉 First off, thanks for taking the time to contribute! 🎉👍
Please note that this project is released with a Contributor Code of Conduct. By participating in this project, you agree to abide by its terms.
As a user of eslint-plugin-promise, you're the perfect candidate to help us improve our documentation. Typo corrections, error fixes, better explanations, more examples, etc. Open issues for things that could be improved. Anything. Even improvements to this document.
Some issues are created with missing information, not reproducible, or plain invalid. Help make them easier to resolve.
We're always looking for more opinions on discussions in the issue tracker. It's a good opportunity to influence the future direction of this tool.
The
question
label
is a good place to find ongoing discussions.
You can use issue labels to discover issues you could help out with:
bug
issues are known bugs we'd like to fixenhancement
issues are features we're open to including
The
help wanted
and
good first issue
labels are especially useful.
You may find an issue is assigned. Please double-check before starting on this issue because somebody else is likely already working on it.
When developing, prefer using Node ≥8 and npm ≥5. While this plugin supports Node 4, writing code with the latest stable Node and npm versions allows us to use newer developer tools.
After
cloning the repository,
run npm install
to install dependencies.
Run npm test
to run the test suite (powered by
Jest). Sometimes it can be helpful to run a
single test file and watch for changes, especially when working on a single
rule. You can run npm test -- --watch
to achieve this.
Run npm run lint
to lint the codebase. If there are any errors reported, try
running npm run lint -- --fix
first to see if ESLint can fix them for you.
npm test
will also lint the codebase thanks to
jest-runner-eslint.
This codebase uses Prettier for code formatting. Consider
installing an editor plugin for the
best experience, but code will also be formatted with a precommit script (using
lint-staged) as well as by running
npm run lint -- --fix
.
- Please search the issue tracker before opening an issue.
- Use a clear and descriptive title.
- Include as much information as possible by filling out the provided issue template.
- The more time you put into an issue, the more we will.
- The best issue report is a failing test proving it.