-
-
Notifications
You must be signed in to change notification settings - Fork 81
/
Copy path.eslintrc.yml
72 lines (72 loc) · 1.13 KB
/
.eslintrc.yml
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
---
plugins:
- react
extends:
- plugin:react/recommended
parser: babel-eslint
parserOptions:
ecmaVersion: 6
sourceType: module
ecmaFeatures:
jsx: true
env:
jasmine: true
node: true
mocha: true
browser: true
builtin: true
es6: true
globals:
_: true
angular: true
rules:
block-scoped-var: error
camelcase: off
curly:
- error
- all
dot-notation:
- error
-
allowKeywords: true
eqeqeq:
- error
- allow-null
strict: off
guard-for-in: error
new-cap: error
no-bitwise: error
no-caller: error
no-cond-assign:
- error
- except-parens
no-debugger: error
no-empty: error
no-eval: error
no-extend-native: error
no-extra-parens: error
no-irregular-whitespace: error
no-iterator: error
no-loop-func: error
no-multi-str: error
no-new: error
no-plusplus: error
no-proto: error
no-script-url: error
no-sequences: error
no-shadow: error
no-undef: error
no-unused-vars:
- error
- ignoreRestSiblings: true
no-with: error
quotes:
- error
- single
semi:
- error
- always
valid-typeof: error
wrap-iife:
- error
- inside