forked from Katello/bastion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheslint.yaml
58 lines (54 loc) · 956 Bytes
/
eslint.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
55
56
57
58
---
plugins:
- angular
env:
browser: true
node: true
globals:
angular: true
_: true
$: true
BASTION_MODULES: true
rules:
strict: 0
quotes: 0
camelcase: 2
indent: 2
new-cap:
- 2
- {"newIsCap": true, "capIsNew": false}
no-mixed-spaces-and-tabs: 2
no-multiple-empty-lines: 2
no-trailing-spaces: 2
space-after-function-name: 2
space-after-keywords: 2
space-before-blocks: 2
space-infix-ops: 2
brace-style: 2
semi: 2
block-scoped-var: 2
consistent-return: 2
curly: 2
eqeqeq: 2
guard-for-in: 2
no-else-return: 2
no-loop-func: 2
vars-on-top: 2
no-debugger: 2
no-cond-assign: 2
no-console: 2
no-extra-semi: 2
no-irregular-whitespace: 2
dot-notation:
- 2
- {"allowPattern": "^[a-z]+(_[a-z]+)+$"}
# Angular Plugin Rules
angular:
ng_angularelement: 2
ng_directive_name:
- 2
- bst
ng_empty_controller: 2
ng_module_name:
- 2
- Bastion