"env": {
"browser": true
},
- "plugins": [
- "@typescript-eslint"
- ],
+ "plugins": ["@typescript-eslint", "jsx-a11y"],
"extends": [
"eslint:recommended",
- "plugin:@typescript-eslint/recommended"
+ "plugin:@typescript-eslint/recommended",
+ "plugin:inferno/recommended",
+ "plugin:jsx-a11y/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"warnOnUnsupportedTypeScriptVersion": false
},
"rules": {
+ "@typescript-eslint/ban-ts-comment": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/explicit-module-boundary-types": 0,
+ "@typescript-eslint/no-empty-function": 0,
"arrow-body-style": 0,
+ "jsx-a11y/alt-text": 1,
+ "jsx-a11y/anchor-is-valid": 1,
+ "jsx-a11y/aria-activedescendant-has-tabindex": 1,
+ "jsx-a11y/aria-role": 1,
+ "jsx-a11y/click-events-have-key-events": 1,
+ "jsx-a11y/iframe-has-title": 1,
+ "jsx-a11y/interactive-supports-focus": 1,
+ "jsx-a11y/no-redundant-roles": 1,
+ "jsx-a11y/no-static-element-interactions": 1,
+ "jsx-a11y/role-has-required-aria-props": 1,
"curly": 0,
"eol-last": 0,
"eqeqeq": 0,
"no-useless-constructor": 0,
"no-useless-escape": 0,
"no-var": 0,
- "prefer-const": 0,
+ "prefer-const": 1,
"prefer-rest-params": 0,
"quote-props": 0,
"unicorn/filename-case": 0