Releases: microsoft/eslint-plugin-fluentui-jsx-a11y
Releases · microsoft/eslint-plugin-fluentui-jsx-a11y
Removed old v8 rules
The old Fluent UI v8 rules have been removed from the repository so now it is purely a v9 solution. The '-v9' suffix has been removed from the rule names as well.
Migrating from individual rule exports to a recommended set of rules.
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",
},