microsoft / eslint-plugin-fluentui-jsx-a11y

ESLint rules for accessibility against FluentUI v9 components.
MIT License
26 stars 16 forks source link

arialabel rule detection error in <Input> component #128

Closed otkHsiao closed 2 weeks ago

otkHsiao commented 1 month ago

Image

package.json: dependencies "@microsoft/eslint-plugin-fluentui-jsx-a11y": "3.0.0-alpha.1", "@fluentui/react-components": "9.47.0",

eslintrc module.exports = { env: { "browser": true, "node": true, }, root: true, parser: "@typescript-eslint/parser", plugins: [ "react", "@typescript-eslint", "@microsoft/sdl", "@microsoft/fluentui-jsx-a11y", "security" ], parserOptions: { sourceType: "module", project: "tsconfig.json", tsconfigRootDir: __dirname, }, extends: [ "airbnb", "airbnb/hooks", "airbnb-typescript", "plugin:@typescript-eslint/recommended", "plugin:import/typescript", "plugin:jest-dom/recommended", "plugin:testing-library/react", "plugin:@microsoft/sdl/required", "plugin:@microsoft/sdl/typescript", "plugin:@microsoft/fluentui-jsx-a11y/recommended" ], }

129