forked from open-sauced/app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
41 lines (41 loc) · 1.38 KB
/
.eslintrc.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
"extends": ["next/core-web-vitals", "plugin:storybook/recommended", "plugin:jsx-a11y/recommended"],
"plugins": ["unused-imports", "@typescript-eslint"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": true
},
"rules": {
"jsx-a11y/label-has-associated-control": "warn",
"jsx-a11y/anchor-has-content":"warn",
"jsx-a11y/role-supports-aria-props":"warn",
"jsx-a11y/no-noninteractive-element-to-interactive-role": "warn",
"jsx-a11y/click-events-have-key-events": "Warn",
"jsx-a11y/no-static-element-interactions": "warn",
"jsx-a11y/no-autofocus": "warn",
"jsx-a11y/img-redundant-alt":"warn",
"jsx-a11y/mouse-events-have-key-events": "warn",
"jsx-a11y/iframe-has-title": "warn",
"jsx-a11y/no-noninteractive-tabindex": "warn",
"jsx-a11y/anchor-is-valid": "warn",
"jsx-a11y/no-noninteractive-element-interactions": "warn",
"jsx-a11y/interactive-supports-focus": "warn",
"jsx-quotes": "error",
"unused-imports/no-unused-imports": "error",
"import/order": [
"error",
{
"groups": ["builtin", "external", "internal", "object", "type", "index", "parent", "sibling"]
}
],
"no-console": "error",
"no-debugger": "error",
"@typescript-eslint/naming-convention": [
"error",
{
"selector": "typeLike",
"format": ["PascalCase"]
}
]
}
}