forked from TakeawayAPI/node-takeaway
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
52 lines (51 loc) · 1.19 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
{
"parser": "babel-eslint",
"plugins": [
"babel",
"import"
],
"extends": [
"eslint:recommended",
"google",
"plugin:import/errors",
"plugin:import/warnings",
],
"env": {
"node": true,
"es6": true,
"browser": true
},
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 6,
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"strict": 0,
"max-len": [2, 160, 4],
"linebreak-style": 0,
"indent": [2, 4, {
"SwitchCase": 1
}],
"dot-notation": [2, {"allowPattern": "^[a-z]+(_[a-z]+)+$"}],
"radix": [2, "as-needed"],
"no-undef": 2,
"no-extra-semi": 0,
"prefer-const": 1,
"comma-dangle": 0,
"require-jsdoc": 0,
"quote-props": [1, 'as-needed'],
"no-await-in-loop": 0,
"no-console": 0,
"no-unused-vars": 1,
"new-cap": 0,
"object-curly-spacing": 0,
"no-invalid-this": 0,
"babel/new-cap": 0,
"babel/object-curly-spacing": 1,
"babel/no-invalid-this": 1,
"import/order": 2
}
}