eslint-config-erikphansen
v1.0.0
Published
ESLint, the way I like it.
Downloads
12
Maintainers
Readme
eslint-config-erikphansen
Usage in projects
If you want to use this in your project, do the following:
Run
npx install-peerdeps -d eslint-config-erikphansen
This installs everything
eslint-config-erikphansen
needs to work in your project.In your
.eslintrc
(or your preferred ESLint config method) add:"extends": "erikphansen"
For example, a minimal
.eslintrc
would contain:{ "extends": "erikphansen" }
Then make overrides to the ESLint rules however you like!
You'll also want to set up some Prettier rules in a .prettierrc config.