forked from ucfopen/materia-template-widget
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.json
More file actions
39 lines (39 loc) · 706 Bytes
/
Copy path.eslintrc.json
File metadata and controls
39 lines (39 loc) · 706 Bytes
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
{
"extends": "eslint:recommended",
"globals": {
"angular": false,
"console": false,
"window": false,
"document": false,
"event": false,
"$": false,
"_": false,
"Namespace": true,
"Materia": true
},
"rules": {
"no-console": "warn",
"no-unused-vars": "warn",
"no-extra-parens": "warn",
"curly": "error",
"no-empty-function": "error",
"no-magic-numbers": ["warn",
{
"ignore": [0, 1, 100],
"ignoreArrayIndexes": true
}
],
"no-multi-spaces": ["error",
{
"exceptions":
{
"ImportDeclaration": true,
"Property": true,
"VariableDeclarator": true
}
}
],
"no-use-before-define": "error",
"brace-style": "error"
}
}