-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.yaml
54 lines (50 loc) · 1.06 KB
/
.eslintrc.yaml
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
env:
browser: true
node: true
phantomjs: true
extends: 'eslint:recommended'
globals:
angular: true
_: true
$: true
parserOptions:
ecmaVersion: 2015
sourceType: module
rules:
strict: [2, 'function']
quotes: [1, 'single', { avoidEscape: true }]
camelcase: 2
indent: [2, 2]
new-cap:
- 2
- {"newIsCap": true, "capIsNew": false}
no-mixed-spaces-and-tabs: 2
no-multiple-empty-lines: 1
no-trailing-spaces: 2
keyword-spacing: 2
space-before-blocks: 1
space-before-function-paren: 1
space-infix-ops: 2
brace-style: [2, '1tbs', { allowSingleLine: true }]
semi: 2
block-scoped-var: 2
consistent-return: 2
curly: 2
eqeqeq: 2
guard-for-in: 2
no-else-return: 0
no-loop-func: 2
vars-on-top: 0
no-debugger: 1
no-cond-assign: 2
no-extra-parens: 0
no-console: [1, { allow: ["error", "info", "warning"] }]
no-constant-condition: ["error", {"checkLoops": false}]
no-extra-semi: 2
no-irregular-whitespace: 2
dot-notation:
- 2
- {"allowPattern": "^[a-z]+(_[a-z]+)+$"}
comma-dangle:
- 1
- only-multiline