forked from i18next/i18next-scanner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
73 lines (73 loc) · 2.06 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
{
"plugins": [
],
"env": {
"browser": true,
"node": true,
"es6": true
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 7,
"sourceType": "module",
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": true
}
},
"rules": {
"arrow-body-style": 0,
"block-spacing": 2,
"brace-style": [2, "1tbs"],
"callback-return": [2, ["cb", "callback", "next"]],
"camelcase": [2, { "properties": "never" }],
"comma-spacing": 2,
"comma-style": [2, "last"],
"comma-dangle": [2, "never"],
"consistent-return": 2,
"curly": [2, "all"],
"default-case": 2,
"dot-notation": [2, { "allowKeywords": true }],
"eol-last": 2,
"eqeqeq": 2,
"func-names": 0,
"indent": [2, 4],
"key-spacing": [2, {
"beforeColon": false,
"afterColon": true
}],
"max-len": [1, 160, 2, { "ignoreComments": true }],
"new-cap": [2, { "newIsCap": true, "capIsNew": false }],
"new-parens": 2,
"no-alert": 2,
"no-array-constructor": 2,
"no-caller": 2,
"no-cond-assign": [2, "except-parens"],
"no-const-assign": 2,
"no-console": [1, { "allow": ["assert", "warn", "error"]}],
"no-else-return": 0,
"no-lone-blocks": 0,
"no-param-reassign": 0,
"no-shadow": 0,
"no-var": 1,
"no-unused-expressions": [2, {
"allowShortCircuit": true,
"allowTernary": true
}],
"no-unused-vars": [1, {
"vars": "local",
"args": "none"
}],
"no-use-before-define": 0,
"object-shorthand": 0,
"one-var": 0,
"one-var-declaration-per-line": 0,
"prefer-const": 0,
"prefer-template": 0,
"quote-props": [0, "as-needed"],
"quotes": [2, "single"],
"space-before-function-paren": 0,
"spaced-comment": 0,
"vars-on-top": 0
}
}