1.0.0 • Published 5 years ago
@elkevinwolf/eslint-config-react v1.0.0
@elkevinwolf/eslint-config-react
⚙️ Kevin Wolf's opinionated shareable ESLint config for React projects.
Installation
npm install --save-dev eslint prettier typescript @elkevinwolf/eslint-config-reactUsage
Depending on your preferred way to configure ESLint, you have several options:
- In
package.json, using theeslintConfigproperty:
{
// name, scripts, dependencies, etc...
"eslintConfig": {
"extends": "@elkevinwolf/react"
}
}- In
.eslintrc.jsonor.eslintrc:
{
"extends": "@elkevinwolf/react"
}- In
.eslintrc.js:
module.exports = {
extends: "@elkevinwolf/react",
}- In
.eslintrc.yamlor.eslintrc.yml:
extends: "@elkevinwolf/react"Contributing
Read the contributing guidelines.
License
1.0.0
5 years ago