forked from viz-centric/flair-bi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
43 lines (43 loc) · 950 Bytes
/
.eslintrc.json
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
// See: http://eslint.org/
// See: https://www.npmjs.com/package/eslint-plugin-angular
{
"extends": [
"eslint:recommended",
"angular"
],
"env": {
"node": true,
"browser": true
},
// severity for a rule should be one of the following: 0 = off, 1 = warning, 2 = error
"rules": {
// coding style
"wrap-iife": [
2,
"inside"
],
"eqeqeq": 2,
"no-use-before-define": [
2,
"nofunc"
],
"no-unused-vars": [
2,
{
"vars": "local",
"args": "none"
}
],
"no-multi-str": 2,
"no-irregular-whitespace": 2,
"semi": [
2,
"always"
],
"indent": 2,
// os/git options
// we want to run on all OSes
"linebreak-style": 0,
"eol-last": 2
}
}