eslint-plugin-fluentui-jsx-a11y

ESLint rules for accessibility against FluentUI v9 components.

MIT License

Downloads
920
Stars
25
Committers
20

Bot releases are visible (Hide)

eslint-plugin-fluentui-jsx-a11y - Migrating from individual rule exports to a recommended set of rules. Latest Release

Published by aubreyquinn 3 months ago

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",
},