-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.js
63 lines (63 loc) · 1.34 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
module.exports = {
"extends": "airbnb",
"env": {
"browser": true,
"mocha": true,
"es6": true,
"node": true,
},
"rules": {
"no-console": 2,
"no-underscore-dangle": 0,
"arrow-body-style": 0,
"import/no-unresolved": 0,
"import/prefer-default-export": 0,
"no-unused-vars": ["error", { "args": "none" }],
"react/prefer-stateless-function": 0,
"linebreak-style": 0,
"import/no-extraneous-dependencies": ["error", {
"devDependencies": [
"**/tests/**",
"**/*.test.js",
"**/*.spec.js",
"**/__tests__/**",
"webpack.config.js",
"webpack.config.*.js",
"gulpfile.js",
"Gruntfile"
],
"optionalDependencies": true,
}],
"prefer-destructuring": ["error", {
"VariableDeclarator": {
"array": true,
"object": true
},
"AssignmentExpression": {
"array": true,
"object": false
}
}, {
"enforceForRenamedProperties": false
}]
},
"settings": {
"import/resolver": {
"node": {
"moduleDirectory": [
"src",
"node_modules",
"resources"
]
}
}
},
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "module",
"allowImportExportEverywhere": true
},
"globals": {
"window": true,
}
};