This repository has been archived by the owner on Dec 12, 2020. It is now read-only.
forked from OnsenUI/OnsenUI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
77 lines (77 loc) · 1.56 KB
/
.eslintrc
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
73
74
75
76
77
{
"extends": "eslint:recommended",
"parser": "babel-eslint",
"env": {
"jasmine": true,
"node": true,
"mocha": true,
"browser": false,
"builtin": true
},
"rules": {
"strict": "off",
"prefer-const": "warn",
"block-scoped-var": "off",
"camelcase": "error",
"no-console": ["warn",
{
"allow": ["warn", "error"]
}
],
"curly": [
"error",
"all"
],
"eqeqeq": [
"off"
],
"global-strict": [
"off",
"never"
],
"guard-for-in": "error",
"new-cap": "error",
"no-bitwise": "error",
"no-caller": "error",
"no-empty": "error",
"no-extend-native": "error",
"no-irregular-whitespace": "error",
"no-iterator": "off",
"no-new": "error",
"no-underscore-dangle": "off",
"comma-dangle": "off",
"no-extra-strict": "off",
"no-extra-parens": "off",
"no-lone-blocks": "warn",
"no-unused-expressions": "off",
"no-trailing-spaces": "warn",
"no-multi-spaces": "off",
"no-shadow": "off",
"no-redeclare": "off",
"no-sequences": "error",
"no-undef": "off",
"no-unused-vars": "off",
"key-spacing": ["error", {
"beforeColon": false,
"afterColon": true
}],
"keyword-spacing": "error",
"no-use-before-define": [
"error",
"nofunc"
],
"no-with": "error",
"quotes": [
"warn",
"single", {
"avoidEscape": true,
"allowTemplateLiterals": true
}
],
"valid-typeof": "error",
"wrap-iife": [
"error",
"inside"
]
}
}