-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
39 lines (39 loc) · 1 KB
/
.eslintrc.js
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
module.exports = {
env: {
browser: true,
es6: true,
},
extends: [
'airbnb',
"plugin:jest/recommended",
"plugin:jest/style",
"plugin:cypress/recommended"
],
globals: {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly',
},
parser: "babel-eslint",
parserOptions: {
ecmaVersion: 2018,
sourceType: 'module',
},
plugins: [
'react', "jest"
],
rules: {
'react/jsx-filename-extension': 0,
'arrow-parens': 0,
'arrow-body-style': 0,
'react/jsx-props-no-spreading': 0,
'no-restricted-syntax': 0,
'jsx-a11y/click-events-have-key-events': 0,
'jsx-a11y/no-static-element-interactions': 0,
'jsx-a11y/anchor-is-valid': 0,
'react/react-in-jsx-scope': 0,
"jsx-a11y/no-noninteractive-element-interactions": 0,
"react/forbid-prop-types": 0,
"jest/expect-expect": 0,
"jest/valid-expect-in-promise": 0
},
};