forked from xchem/fragalysis-frontend
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
94 lines (94 loc) · 2.69 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
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
{
"extends": ["react-app", "prettier", "prettier/react", "plugin:jest/all", "plugin:jest-formatting/recommended"],
"plugins": ["import", "prettier", "jest", "jest-formatting"],
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 8,
"ecmaFeatures": {
"jsx": true,
"experimentalObjectRestSpread": true,
"impliedStrict": true,
"classes": true
}
},
"rules": {
"react/jsx-filename-extension": [
1,
{
"extensions": [".js", "jsx"]
}
],
"max-len": 0,
"array-callback-return": 0,
"consistent-return": 0,
"no-new": 0,
"no-unused-vars": 1,
"import/extensions": 1,
"import/no-cycle": 0,
"no-plusplus": 0,
"import/prefer-default-export": 0,
"no-shadow": 0,
"import/named": 0,
"no-param-reassign": 0,
"import/no-named-as-default": 0,
"import/no-named-as-default-member": 0,
"no-unused-expressions": 0,
"no-useless-escape": 0,
"react/prop-types": 0,
"react/no-array-index-key": 0,
"react/prefer-stateless-function": 0,
"prefer-promise-reject-errors": 0,
"no-underscore-dangle": 0,
"no-undef": 1,
"no-use-before-define": 0,
"no-nested-ternary": 0,
"no-console": 0,
"prefer-destructuring": 0,
"no-prototype-builtins": 0,
"global-require": 0,
"import/no-extraneous-dependencies": 0,
"default-case": 0,
"react/jsx-no-target-blank": 0,
"react/no-danger": 0,
"jsx-a11y/alt-text": 0,
"no-await-in-loop": 0,
"react/destructuring-assignment": 0,
"jsx-a11y/anchor-is-valid": 0,
"react/sort-comp": 0,
"jsx-a11y/no-static-element-interactions": 0,
"jsx-a11y/click-events-have-key-events": 0,
"react/no-unused-state": 0,
"react/no-string-refs": 0,
"react/no-access-state-in-setstate": 0,
"no-empty": 0,
"react/jsx-no-duplicate-props": 0,
"react/no-unescaped-entities": 0,
"no-irregular-whitespace": 1,
"no-cond-assign": 0,
"no-restricted-globals": 0,
"react/require-default-props": 0,
"react/jsx-no-bind": 0,
"jsx-a11y/no-noninteractive-element-interactions": 0,
"no-empty-pattern": 0,
"react/default-props-match-prop-types": 0,
"jsx-a11y/label-has-associated-control": 0,
"jsx-a11y/label-has-for": 0,
"jsx-a11y/anchor-has-content": 0,
"comma-dangle": ["error", "never"],
"no-else-return": 0,
"no-class-assign": 0,
"no-restricted-syntax": 0,
"react/no-this-in-sfc": 0,
"import/no-useless-path-segments": 0,
"arrow-body-style": 0,
"import/newline-after-import": 0,
"no-useless-computed-key": 0,
"no-useless-concat": 0,
"import/no-unresolved": 0,
"import/order": 0
},
"env": {
"browser": true,
"node": true
}
}