-
Notifications
You must be signed in to change notification settings - Fork 4
/
.eslintrc.js
54 lines (54 loc) · 1.13 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
module.exports = {
"rules": {
"indent": [
2,
4
],
"quotes": [
2,
"double"
],
"linebreak-style": [
2,
"unix"
],
"semi": [
2,
"always"
],
"no-undef": 1,
"no-redeclare": 1,
"no-debugger":1,
"valid-jsdoc":0,
"no-use-before-define": [2, {"functions": false}],
"no-extra-bind": 1,
"no-invalid-this": 1,
"consistent-return": 1,
"no-console": [2, { allow: ["warn"] }],
"no-unused-expressions": 1
},
"env": {
"es6": true,
"browser": true
},
"extends": "eslint",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
},
},
"globals": {
"Materialize": true,
"describe": true,
"it": true,
"expect": true,
"angular": true,
"require": true,
"before": true,
"beforeEach": true,
"after": true,
"afterEach": true
}
};