@elkevinwolf/eslint-config-react
Installation
npm install --save-dev eslint prettier typescript @elkevinwolf/eslint-config-react
Usage
Depending on your preferred way to configure ESLint, you have several options:
- In
package.json
, using theeslintConfig
property:
{
// name, scripts, dependencies, etc...
"eslintConfig": {
"extends": "@elkevinwolf/react"
}
}
- In
.eslintrc.json
or.eslintrc
:
{
"extends": "@elkevinwolf/react"
}
- In
.eslintrc.js
:
module.exports = {
extends: "@elkevinwolf/react",
}
- In
.eslintrc.yaml
or.eslintrc.yml
:
extends: "@elkevinwolf/react"
Contributing
Read the contributing guidelines.