forked from solidusio/solidus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
109 lines (109 loc) · 2.52 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
{
"extends": "eslint:recommended",
"ignorePatterns": [
"**/spec",
"**/vendor",
"**/node_modules",
"sandbox",
"core/doc",
"tmp"
],
"parserOptions": {
"ecmaVersion": 2019
},
"env": {
"es6": true,
"browser": true,
"jquery": true
},
"rules": {
"block-scoped-var": 0,
"camelcase": 0,
"comma-dangle": 0,
"comma-spacing": 0,
"computed-property-spacing": 0,
"consistent-return": 0,
"default-case": 0,
"dot-notation": 0,
"eqeqeq": 0,
"func-names": 0,
"guard-for-in": 0,
"indent": 0,
"key-spacing": 0,
"keyword-spacing": 0,
"linebreak-style": ["error", "unix"],
"max-len": 0,
"new-cap": 0,
"no-alert": 0,
"no-bitwise": 0,
"no-console": ["warn", {
"allow": ["warn"]
}],
"no-else-return": 0,
"no-extra-semi": "error",
"no-global-assign": ["error", {
"exceptions": ["Tabs"]
}],
"no-multi-spaces": 0,
"no-multi-str": 0,
"no-new": 0,
"no-param-reassign": 0,
"no-plusplus": 0,
"no-redeclare": "error",
"no-restricted-globals": 0,
"no-restricted-syntax": 0,
"no-shadow": 0,
"no-undef": "error",
"no-underscore-dangle": ["error", {
"allow": ["_sync", "_this", "_flatpickr"]
}],
"no-unused-vars": ["error", {
"vars": "all", "args": "none"
}],
"no-use-before-define": 0,
"no-unused-expressions": 0,
"no-var": 0,
"one-var": 0,
"one-var-declaration-per-line": 0,
"object-curly-newline": 0,
"object-curly-spacing": 0,
"object-shorthand": 0,
"operator-linebreak": 0,
"prefer-arrow-callback": 0,
"prefer-destructuring": 0,
"prefer-rest-params": 0,
"prefer-template": 0,
"quote-props": 0,
"quotes": 0,
"radix": 0,
"semi": 0,
"space-before-function-paren": 0,
"space-before-blocks": 0,
"space-infix-ops": 0,
"space-unary-ops": 0,
"spaced-comment": 0,
"strict": 0,
"vars-on-top": 0,
"wrap-iife": 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",
"update_state": "writable"
}
}