-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
48 lines (48 loc) · 1.14 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
42
43
44
45
46
47
48
{
"$schema": "https://json.schemastore.org/eslintrc",
"extends": [
"plugin:@typescript-eslint/strict",
"plugin:jsx-a11y/recommended",
"plugin:import/recommended",
"prettier"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2020,
"sourceType": "module"
},
"plugins": [
"@typescript-eslint",
"jsx-a11y",
"prefer-arrow",
"prettier",
"json-files"
],
"ignorePatterns": [
"!.storybook",
"node_modules",
"dist",
"build"
],
"root": true,
"rules": {
"@typescript-eslint/consistent-type-imports": "error",
"@typescript-eslint/explicit-module-boundary-types": "error",
"@typescript-eslint/no-unused-vars": "error",
"arrow-body-style": [
"error",
"as-needed"
],
"keyword-spacing": "error",
"prefer-arrow/prefer-arrow-functions": "error",
"prettier/prettier": "error",
"json-files/sort-package-json": "error",
"json-files/require-unique-dependency-names": "error",
"import/order": "error",
"import/no-unresolved": "off",
"import/no-duplicates": "off"
}
}