forked from Ilhasoft/floweditor
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc.json
54 lines (54 loc) · 1.41 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
49
50
51
52
53
54
{
"extends": [
"@weni/eslint-config/react16"
],
"env": {
"node": true,
"browser": true,
"jest": true,
"es6" :true
},
"parser": "@typescript-eslint/parser",
"rules": {
"prettier/prettier": [
"error",
{
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"bracketSpacing": true,
"printWidth": 80,
"trailingComma": "all",
"endOfLine": "lf",
"singleAttributePerLine": true
}
],
"no-prototype-builtins": 0,
"no-case-declarations": 1,
"no-empty": 1,
"no-var": 1,
"prefer-const": 1,
"react/prop-types": 1,
"react/no-unescaped-entities": 1,
"react/display-name": 0,
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/explicit-member-accessibility": 0,
"@typescript-eslint/no-namespace": 0,
"@typescript-eslint/no-var-requires": 0,
"@typescript-eslint/no-use-before-define": 0,
"@typescript-eslint/no-object-literal-type-assertion": 0,
"@typescript-eslint/no-empty-interface": 1,
"@typescript-eslint/no-non-null-assertion": 0,
"@typescript-eslint/no-inferrable-types": 1,
"@typescript-eslint/ban-types": 1,
"@typescript-eslint/no-this-alias": 1,
"@typescript-eslint/ban-ts-comment": 1,
"@typescript-eslint/no-empty-function": 1
},
"settings": {
"react": {
"pragma": "React",
"version": "detect"
}
}
}