@shufflies/eslint-config 2.0.2 → 2.1.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.
@@ -47,6 +47,9 @@ function recommended(args = {}) {
47
47
  // There is no need to _prohibit_ zero fractions.
48
48
  // It's perfectly reasonable to write [0.6, 0.8, 1.0, 1.2]
49
49
  "unicorn/no-zero-fractions": "off",
50
+ // Prettier handles ternary formatting differently, using smart
51
+ // line breaks rather than brackets.
52
+ "unicorn/no-nested-ternary": "off",
50
53
  },
51
54
  },
52
55
  {
@@ -41,6 +41,9 @@ export function recommended(args = {}) {
41
41
  // There is no need to _prohibit_ zero fractions.
42
42
  // It's perfectly reasonable to write [0.6, 0.8, 1.0, 1.2]
43
43
  "unicorn/no-zero-fractions": "off",
44
+ // Prettier handles ternary formatting differently, using smart
45
+ // line breaks rather than brackets.
46
+ "unicorn/no-nested-ternary": "off",
44
47
  },
45
48
  },
46
49
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shufflies/eslint-config",
3
- "version": "2.0.2",
3
+ "version": "2.1.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "exports": {