-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathindex.js
49 lines (49 loc) · 1.04 KB
/
index.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
40
41
42
43
44
45
46
47
48
49
module.exports = {
extends: [
'./rules/best-practices',
'./rules/errors',
'./rules/es6',
'./rules/imports',
'./rules/node',
'./rules/react-a11y',
'./rules/react',
'./rules/strict',
'./rules/style',
'./rules/variables'
].map(require.resolve),
parserOptions: {
ecmaVersion: 7,
sourceType: 'module'
},
plugins: [
'class-property',
'import'
],
parser: 'babel-eslint',
rules: {
'strict': 0,
'react/jsx-indent': 0,
'react/jsx-filename-extension': 0,
'react/prop-types': 0,
'react/no-did-mount-set-state': 0,
'react/prefer-stateless-function': 0,
'no-trailing-spaces': 0,
'import/prefer-default-export': 0,
'import/no-extraneous-dependencies': 0,
'new-cap': 0,
'func-names': 0,
'consistent-return': 0,
'no-use-before-define': 0,
'global-require': 0,
'linebreak-style': 0
},
globals: {
"describe": false,
"it": false,
"test": false,
"expect": false,
"beforeEach": false,
"afterEach": false,
"before": false
}
};