@growsuper/eslint-config
v2.2.2
Published
Grow Super's ESLint config, following our coding style
Downloads
2,752
Maintainers
Readme
@growsuper/eslint-config
Grow Super's ESLint configuration, following our coding style.
The project has three main areas:
- core - Core eslint configuration
- browser - Core configuration + Vue + MDX rules
- node-cjs - Core configuration with rules removed to support CommonJS Node
Set up and usage
1. Install dependencies
yarn add -D @growsuper/eslint-config
2. Create a .eslintrc
file in the root of your project and paste the following:
For Vue.js projects:
{
"extends": "@growsuper/eslint-config/browser"
}
For CommonJS Node projects:
{
"extends": "@growsuper/eslint-config/node-cjs"
}
That's it ✨