forked from VKCOM/VKUI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
50 lines (44 loc) · 1.05 KB
/
.eslintrc
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
49
50
{
"extends": ["semistandard", "plugin:react/recommended"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"quote-props": [2, "consistent-as-needed"],
"no-trailing-spaces": ["error", { "skipBlankLines": true }],
"no-extend-native": "off",
"no-return-assign": "off",
"react/no-deprecated": "off",
"space-before-function-paren": [0],
"no-unused-vars": "off",
"react/display-name": "off",
"prefer-const": "off",
"no-prototype-builtins": "off",
"object-curly-spacing": "error",
"lines-between-class-members": "off",
"no-mixed-operators": "off",
"@typescript-eslint/no-unused-vars": ["error", {
"vars": "all",
"args": "after-used",
"ignoreRestSiblings": true
}],
"@typescript-eslint/no-explicit-any": "error"
},
"globals": {
"Element": true
},
"env": {
"browser": true
},
"plugins": [
"@typescript-eslint", "react"
],
"settings": {
"react": {
"version": "detect"
}
}
}