forked from solidusio/solidus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
57 lines (57 loc) · 1.31 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
{
"extends": "airbnb-base",
"env": {
"es6": false,
"browser": true,
"jquery": true
},
"rules": {
"camelcase": 0,
"comma-dangle": 0,
"dot-notation": 0,
"func-names": 0,
"no-console": ["warn", {
"allow": ["warn"]
}],
"no-extra-semi": "error",
"no-global-assign": ["error", {
"exceptions": ["Tabs"]
}],
"no-redeclare": "error",
"no-shadow": 0,
"no-undef": "error",
"no-unused-vars": ["error", {
"vars": "all", "args": "none"
}],
"no-use-before-define": 0,
"no-var": 0,
"object-shorthand": 0,
"operator-linebreak": 0,
"prefer-arrow-callback": 0,
"prefer-destructuring": 0,
"prefer-template": 0,
"quotes": 0,
"radix": 0,
"space-before-function-paren": 0,
"vars-on-top": 0
},
"globals": {
"_": "readonly",
"accounting": "readonly",
"addVariantFromStockLocation": "writable",
"adjustShipmentItems": "writable",
"Backbone": "readonly",
"error": "writable",
"flatpickr": "readonly",
"Handlebars": "readonly",
"HandlebarsTemplates": "readonly",
"json": "writable",
"message": "writable",
"Select2": "readonly",
"shipments": "writable",
"show_flash": "writable",
"Sortable": "readonly",
"Spree": "readonly",
"Turbolinks": "readonly"
}
}