-
Notifications
You must be signed in to change notification settings - Fork 85
/
Copy path.eslintrc.json
105 lines (105 loc) · 2.84 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"env": {
"browser": true,
"es6": true,
"node": true,
"jest": true
},
"extends": [
"airbnb",
"eslint:recommended",
"plugin:import/recommended",
"plugin:import/typescript",
"plugin:import/electron",
"plugin:react/recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"prettier",
"prettier/react",
"prettier/@typescript-eslint"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2018,
"sourceType": "module",
"project": "./tsconfig.json"
},
"plugins": [
"react",
"prettier",
"@typescript-eslint"
],
"rules": {
"global-require": 0,
"import/prefer-default-export": 0,
"import/no-useless-path-segments": 1,
"import/no-unresolved": 0,
"import/no-extraneous-dependencies": 0,
"import/no-named-as-default": 0,
"import/newline-after-import": 1,
"import/no-named-as-default-member": 0,
"import/namespace": 0,
"import/extensions": 0,
"import/named": 0,
"react/jsx-wrap-multilines": [
2,
{
"declaration": "parens-new-line",
"assignment": "parens-new-line",
"return": "parens-new-line",
"arrow": "ignore",
"condition": "ignore",
"logical": "ignore",
"prop": "ignore"
}
],
"react/jsx-filename-extension": 0,
"react/jsx-indent": 0,
"react/jsx-boolean-value": 0,
"react/jsx-closing-tag-location": 0,
"react/jsx-closing-bracket-location": [
2,
{
"selfClosing": "props-aligned",
"nonEmpty": "after-props"
}
],
"react/prop-types": 0,
"react/button-has-type": 0,
"react/jsx-tag-spacing": [
2,
{
"beforeSelfClosing": "always"
}
],
"react/jsx-one-expression-per-line": 0,
"react/jsx-curly-spacing": 0,
"react/no-access-state-in-setstate": 0,
"react/destructuring-assignment": 0,
"react/jsx-no-bind": 0,
"react/require-default-props": 0,
"react/display-name": 0,
"react/jsx-first-prop-new-line": 0,
"react/jsx-props-no-spreading": 0,
"react/static-property-placement": 0,
"react/state-in-constructor": 0,
"@typescript-eslint/no-var-requires": 0,
"@typescript-eslint/indent": 0,
"@typescript-eslint/camelcase": 0,
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/no-non-null-assertion": 0,
"@typescript-eslint/no-use-before-define": 0,
"@typescript-eslint/member-delimiter-style": 0,
"@typescript-eslint/no-unused-vars": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/explicit-member-accessibility": 0,
"@typescript-eslint/no-angle-bracket-type-assertion": 0
}
}