forked from bigcommerce/cornerstone
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc
More file actions
70 lines (70 loc) · 1.66 KB
/
Copy path.eslintrc
File metadata and controls
70 lines (70 loc) · 1.66 KB
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
{
"parser": "@babel/eslint-parser",
"parserOptions": {
"requireConfigFile": false,
"babelOptions": {
"presets": [
"@babel/preset-env"
]
}
},
"rules": {
"indent": [
2,
4
],
"no-alert": 0,
"consistent-return": 0,
"max-len": 0,
"import/first": 0,
"no-mixed-operators": 0,
"class-methods-use-this": 0,
"no-template-curly-in-string": 0,
"no-underscore-dangle": 0,
"prefer-spread": 0,
"no-plusplus": 0,
"no-restricted-syntax": 0,
"no-prototype-builtins": 0,
"no-useless-escape": 0,
"global-require": 0,
"newline-per-chained-call": 0,
"arrow-parens": 0,
"prefer-destructuring": 0,
"import/no-named-as-default": 0,
"import/no-named-as-default-member": 0,
"import/prefer-default-export": "off",
"no-tabs": "warn",
"no-mixed-spaces-and-tabs": "warn",
"import/order": "warn"
},
"overrides": [
{
"files": [
"**/*.spec.js"
],
"rules": {
"no-multi-str": "warn"
}
},
{
"files": [
"assets/js/theme/*.js"
],
"rules": {
"object-curly-newline": "warn",
"no-else-return": "warn"
}
}
],
"globals": {
"$": true,
"jQuery": true
},
"env": {
"es6": true,
"browser": true,
"jasmine": true,
"jest": true
},
"extends": "airbnb/base"
}