Migrating from individual rule exports to a recommended set of rules.
aubreyquinn
released this
19 Jul 09:59
·
200 commits
to main
since this release
Migrating from individual rule exports to a recommended set of rules.
Consuming packages can now import the recommended rules instead of importing each rule individually.
"plugins": [
"@typescript-eslint",
"react-hooks",
"@microsoft/fluentui-jsx-a11y"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@microsoft/fluentui-jsx-a11y/recommended"
],
"rules": {
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn",
"react/prop-types": "off",
},