@quinhas/config-eslint
v1.0.5
Published
ESLint configuration used by Lucas Santana
Downloads
10
Readme
Quinhas ESLint configuration
Whats included?
- Standard config base;
- React plugin;
- React Hooks plugin;
- JSX a11y plugin;
- Prettier;
Setup
- Install this package as devDependency
# with Yarn
$ yarn add -D @quinhas/config-eslint
# with npm
$ npm i -D @quinhas/config-eslint
# with pnpm
$ pnpm add -D @quinhas/config-eslint
- Create a
.eslintrc.js
file in project root with the following content:
module.exports = {
extends: ['@quinhas/config-eslint/react'],
// extends: ["@quinhas/config-eslint/node"],
};
You can also use a
.eslintrc.json
instead of js if you prefer.