forked from Universal-Omega/SimpleBlogPage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
68 lines (68 loc) · 1.69 KB
/
.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
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
{
"root": true,
"extends": [
"wikimedia/client-es6",
"wikimedia/jquery",
"wikimedia/mediawiki"
],
"globals": {
"ext": "readonly",
"OOJSPlus": "readonly",
"ve": "readonly"
},
"rules": {
"space-before-blocks": "warn",
"space-before-function-paren": "warn",
"spaced-comment": "warn",
"space-in-parens": "warn",
"space-infix-ops": "warn",
"space-unary-ops": "warn",
"no-multi-spaces": "warn",
"no-trailing-spaces": "warn",
"keyword-spacing": "warn",
"comma-spacing": "warn",
"computed-property-spacing": "warn",
"array-bracket-spacing": "warn",
"object-curly-spacing": "warn",
"key-spacing": "warn",
"no-tabs": "warn",
"comma-dangle": "warn",
"no-implicit-globals": "warn",
"quote-props": "warn",
"no-console": "warn",
"eqeqeq": "warn",
"no-useless-concat": "warn",
"no-mixed-spaces-and-tabs": "warn",
"no-useless-escape": "warn",
"vars-on-top": "warn",
"curly": "warn",
"quotes": "warn",
"camelcase": "warn",
"no-underscore-dangle": "warn",
"indent": "warn",
"valid-jsdoc": "warn",
"one-var": "warn",
"no-unneeded-ternary": "warn",
"no-undef": "warn",
"no-unused-vars": "warn",
"no-shadow-restricted-names": "warn",
"wrap-iife": "warn",
"no-extend-native": "warn",
"no-restricted-properties": "warn",
"no-use-before-define": "warn",
"eol-last": "warn",
"brace-style": "warn",
"no-bitwise": "warn",
"no-global-assign": "warn",
"no-redeclare": "warn",
"operator-linebreak": "warn",
"no-multiple-empty-lines": "warn",
"func-call-spacing": "warn",
"no-useless-call": "warn",
"no-control-regex": "warn",
"no-prototype-builtins": "warn",
"mediawiki/msg-doc": "warn",
"new-cap": "warn",
"semi-style": "warn"
}
}