An opinionated list of ESLint rules used at Delaware Consulting.
npm install --save-dev eslint eslint-plugin-import eslint-config-dlw
Then add the extends to your .eslintrc
:
{
"extends": "dlw",
"rules": {
// your overrides
}
}
For supporting React projects, also add the dlw/rules/react extension:
{
"extends": [
"dlw",
"dlw/rules/react"
]
}
Then install eslint-plugin-react
:
npm install --save-dev eslint-plugin-react
MIT