@shufflies/eslint-config 1.1.0 → 1.2.0
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/lib/cjs/configs.js +4 -0
- package/lib/esm/configs.js +4 -0
- package/package.json +1 -1
package/lib/cjs/configs.js
CHANGED
|
@@ -34,6 +34,10 @@ function recommended(args = {}) {
|
|
|
34
34
|
// Don't force changing 'Props' to 'Properties' and
|
|
35
35
|
// 'el' to 'element' and so on.
|
|
36
36
|
"unicorn/prevent-abbreviations": "off",
|
|
37
|
+
// Being prohibited from passing undefined to functions that
|
|
38
|
+
// are defined as "foo | undefined" is irritating, so we
|
|
39
|
+
// disable this rule.
|
|
40
|
+
"unicorn/no-useless-undefined": "off",
|
|
37
41
|
},
|
|
38
42
|
},
|
|
39
43
|
{
|
package/lib/esm/configs.js
CHANGED
|
@@ -28,6 +28,10 @@ export function recommended(args = {}) {
|
|
|
28
28
|
// Don't force changing 'Props' to 'Properties' and
|
|
29
29
|
// 'el' to 'element' and so on.
|
|
30
30
|
"unicorn/prevent-abbreviations": "off",
|
|
31
|
+
// Being prohibited from passing undefined to functions that
|
|
32
|
+
// are defined as "foo | undefined" is irritating, so we
|
|
33
|
+
// disable this rule.
|
|
34
|
+
"unicorn/no-useless-undefined": "off",
|
|
31
35
|
},
|
|
32
36
|
},
|
|
33
37
|
{
|