The ESLint config used by Reaction Commerce JavaScript apps and packages, following our code style guide.
Note: Be sure you are using NPM 5+
First install in your project directory:
npx install-peerdeps --dev @reactioncommerce/eslint-configThen set your eslint config either in package.json:
"eslintConfig": {
"extends": "@reactioncommerce"
}Or in a root file named .eslintrc if your project does not have a package.json:
{
"extends": "@reactioncommerce"
}This NPM package is published automatically on every push to the master branch. Be sure to use proper Git commit messages so that the version will be bumped properly and release notes can be automatically generated.
- Refer to https://github.com/semantic-release/semantic-release#commit-message-format
- To avoid triggering a release, such as for a README-only change, include
[skip release]in your commit message.
