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