eslint-config-base
ESLint shareable config for all Brickblock JavaScript projects
How to use this package?
-
Install Package
yarn add --dev @brickblock/eslint-config-base
-
Install Peer Dependencies
npm info "@brickblock/eslint-config-base@latest" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs yarn add --dev "@brickblock/eslint-config-base@latest"
-
Use Package
Once @brickblock/eslint-config-base
is installed, you can use it by adding it to the extends
section of your ESLint configuration.
/* .eslintrc.js */
module.exports = {
extends: '@brickblock/eslint-config-base'
}