forked from Platform-OS/pos-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
40 lines (40 loc) · 922 Bytes
/
.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
{
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"experimentalObjectRestSpread": true
}
},
"extends": "eslint:recommended",
"rules": {
"comma-dangle": 0,
"brace-style": [2, "1tbs"],
"no-console": 0,
"padded-blocks": 0,
"indent": [2, 2, { "SwitchCase": 1 }],
"spaced-comment": 1,
"quotes": ["error", "single", { "avoidEscape": true }],
"no-underscore-dangle": 0,
"no-magic-numbers": 0,
"quote-props": 0,
"prefer-arrow-callback": 0,
"space-before-function-paren": 0,
"no-new": 0,
"func-names": 0,
"global-require": 0,
"new-cap": 0,
"arrow-body-style": 0,
"class-methods-use-this": 0,
"consistent-return": 0,
"semi": [2, "always"],
"max-len": [1, 140]
},
"env": {
"browser": true,
"es6": true,
"node": true,
"commonjs": true
}
}