📝 Edit page
➕ Add page
Extend
You can extend from an external ruleset. This keeps your project light as you add one line instead of many.
For example, using:
eslint:recommended
Gives you rules covered in conf/eslint-recommended.js of the ESLint repo.
See also conf/eslint-all.js.
eslint:all
See the Extending section in the docs.
Here is an example from the docs:
{
"plugins": [
"react"
],
"extends": [
"eslint:recommended",
"plugin:react/recommended"
],
"rules": {
"react/no-set-state": "off"
}
}