@withdouble/eslint-config
v4.0.10
Published
Double’s JavaScript Style
Downloads
424
Keywords
Readme
@withdouble/eslint-config
Double’s central ESLint config
Install
npm i -D \
@withdouble/eslint-config \
@typescript-eslint/eslint-plugin \
eslint \
eslint-plugin-prettier \
eslint-plugin-promise \
<!-- Only install the following if you're using eslint-config/web -->
eslint-plugin-react \
eslint-plugin-react-hooks
Usage
Add this to your package.json
file:
"eslintConfig": {
"extends": "@withdouble/eslint-config/web"
}
or in your .eslintrc
file:
{
"extends": "@withdouble/eslint-config/web"
}