@rebeccastevens/eslint-config 3.3.3 → 3.3.4

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/dist/index.cjs CHANGED
@@ -3090,7 +3090,13 @@ async function typescript(options) {
3090
3090
  allowString: false,
3091
3091
  },
3092
3092
  ],
3093
- "ts/switch-exhaustiveness-check": "error",
3093
+ "ts/switch-exhaustiveness-check": [
3094
+ "error",
3095
+ {
3096
+ allowDefaultCaseForExhaustiveSwitch: true,
3097
+ considerDefaultExhaustiveForUnions: true,
3098
+ },
3099
+ ],
3094
3100
  "ts/unbound-method": ["error", { ignoreStatic: true }],
3095
3101
  "ts/unified-signatures": ["error", { ignoreDifferentlyNamedParameters: true }],
3096
3102
  "ts/use-unknown-in-catch-callback-variable": "error",
@@ -3679,7 +3685,7 @@ async function yaml(options) {
3679
3685
  "yaml/indent": [stylisticEnforcement, indent === "tab" ? 2 : indent],
3680
3686
  "yaml/key-spacing": stylisticEnforcement,
3681
3687
  "yaml/no-tab-indent": stylisticEnforcement,
3682
- "yaml/quotes": [stylisticEnforcement, { avoidEscape: true, prefer: quotes }],
3688
+ "yaml/quotes": [stylisticEnforcement, { avoidEscape: true, prefer: quotes === "backtick" ? "double" : quotes }],
3683
3689
  "yaml/spaced-comment": stylisticEnforcement,
3684
3690
  ...overrides,
3685
3691
  },