@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.
@@ -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
  {
@@ -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
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shufflies/eslint-config",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "exports": {