@shgysk8zer0/eslint-config 1.0.7 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -0
- package/browser.cjs +6 -0
- package/config.cjs +6 -0
- package/node.cjs +6 -0
- package/package.json +1 -1
- package/rules.cjs +6 -0
- package/rules.js +6 -0
package/CHANGELOG.md
CHANGED
package/browser.cjs
CHANGED
|
@@ -52,6 +52,12 @@ const rules = {
|
|
|
52
52
|
'no-async-promise-executor': 0,
|
|
53
53
|
'no-prototype-builtins': 0,
|
|
54
54
|
'no-unused-vars': 'error',
|
|
55
|
+
'no-irregular-whitespace': ['error', {
|
|
56
|
+
skipStrings: false,
|
|
57
|
+
skipComments: false,
|
|
58
|
+
skipRegExps: false,
|
|
59
|
+
skipTemplates: false
|
|
60
|
+
}],
|
|
55
61
|
};
|
|
56
62
|
|
|
57
63
|
var browser = (config = {}) => ({ rules, languageOptions: browser$1, ...config });
|
package/config.cjs
CHANGED
|
@@ -80,6 +80,12 @@ const rules = {
|
|
|
80
80
|
'no-async-promise-executor': 0,
|
|
81
81
|
'no-prototype-builtins': 0,
|
|
82
82
|
'no-unused-vars': 'error',
|
|
83
|
+
'no-irregular-whitespace': ['error', {
|
|
84
|
+
skipStrings: false,
|
|
85
|
+
skipComments: false,
|
|
86
|
+
skipRegExps: false,
|
|
87
|
+
skipTemplates: false
|
|
88
|
+
}],
|
|
83
89
|
};
|
|
84
90
|
|
|
85
91
|
var nodeConfig = (config = {}) => ({ rules, languageOptions: node$1, ...config });
|
package/node.cjs
CHANGED
|
@@ -35,6 +35,12 @@ const rules = {
|
|
|
35
35
|
'no-async-promise-executor': 0,
|
|
36
36
|
'no-prototype-builtins': 0,
|
|
37
37
|
'no-unused-vars': 'error',
|
|
38
|
+
'no-irregular-whitespace': ['error', {
|
|
39
|
+
skipStrings: false,
|
|
40
|
+
skipComments: false,
|
|
41
|
+
skipRegExps: false,
|
|
42
|
+
skipTemplates: false
|
|
43
|
+
}],
|
|
38
44
|
};
|
|
39
45
|
|
|
40
46
|
var node = (config = {}) => ({ rules, languageOptions: node$1, ...config });
|
package/package.json
CHANGED
package/rules.cjs
CHANGED
|
@@ -11,6 +11,12 @@ const rules = {
|
|
|
11
11
|
'no-async-promise-executor': 0,
|
|
12
12
|
'no-prototype-builtins': 0,
|
|
13
13
|
'no-unused-vars': 'error',
|
|
14
|
+
'no-irregular-whitespace': ['error', {
|
|
15
|
+
skipStrings: false,
|
|
16
|
+
skipComments: false,
|
|
17
|
+
skipRegExps: false,
|
|
18
|
+
skipTemplates: false
|
|
19
|
+
}],
|
|
14
20
|
};
|
|
15
21
|
|
|
16
22
|
exports.rules = rules;
|
package/rules.js
CHANGED
|
@@ -9,4 +9,10 @@ export const rules = {
|
|
|
9
9
|
'no-async-promise-executor': 0,
|
|
10
10
|
'no-prototype-builtins': 0,
|
|
11
11
|
'no-unused-vars': 'error',
|
|
12
|
+
'no-irregular-whitespace': ['error', {
|
|
13
|
+
skipStrings: false,
|
|
14
|
+
skipComments: false,
|
|
15
|
+
skipRegExps: false,
|
|
16
|
+
skipTemplates: false
|
|
17
|
+
}],
|
|
12
18
|
};
|