Applied Blockchain eslint configuration
Usage:
Installation:npm i -D eslint @appliedblockchain/eslint-config
Node Modules
In your project's package.json, use the shorthand syntax"eslintConfig": {
"extends": "@appliedblockchain"
}
React Projects
In your project's package.json, point to the react config"eslintConfig": {
"extends": "@appliedblockchain/eslint-config/react"
}
Linting
This project self-lints:npm i
npm run lint
Releasing
To release a new version, check out the code on your local machine, then:npm version minor
git push && git push --tags
Where
minor
is a sensible default for rule changes which will impact existing projects.