@grantgryczan/eslint-config
v1.1.0
Published
Grant Gryczan's ESLint config
Downloads
8
Maintainers
Readme
Grant Gryczan's ESLint Config
To use this ESLint config, run the following command.
npm i --save-dev eslint @grantgryczan/eslint-config
Then create an .eslintrc
file with the following contents.
{
"extends": "@grantgryczan"
}
If you're using TypeScript, also run this.
npm i --save-dev @typescript-eslint/parser @typescript-eslint/eslint-plugin
If you're using Next, also run this.
npm i --save-dev eslint-config-next
If you're using React (but not Next since Next comes with this already), also run this.
npm i --save-dev eslint-plugin-react eslint-plugin-react-hooks