@dlzn-ui/eslint-config 2.0.68 → 2.0.70

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.
Files changed (2) hide show
  1. package/dist/index.mjs +8 -0
  2. package/package.json +3 -3
package/dist/index.mjs CHANGED
@@ -130,6 +130,14 @@ const eslintConfig = await antfu(
130
130
  allowString: true
131
131
  }
132
132
  ],
133
+ "ts/switch-exhaustiveness-check": [
134
+ "error",
135
+ {
136
+ allowDefaultCaseForExhaustiveSwitch: true,
137
+ considerDefaultExhaustiveForUnions: true,
138
+ requireDefaultForNonUnion: false
139
+ }
140
+ ],
133
141
  "ts/unbound-method": "off"
134
142
  },
135
143
  tsconfigPath: "tsconfig.json"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dlzn-ui/eslint-config",
3
3
  "type": "module",
4
- "version": "2.0.68",
4
+ "version": "2.0.70",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -25,8 +25,8 @@
25
25
  "eslint-plugin-format": "^2.0.1",
26
26
  "eslint-plugin-prettier": "^5.5.6",
27
27
  "jiti": "^2.7.0",
28
- "@dlzn-ui/node-utils": "2.0.68",
29
- "@dlzn-ui/prettier-config": "2.0.68"
28
+ "@dlzn-ui/prettier-config": "2.0.70",
29
+ "@dlzn-ui/node-utils": "2.0.70"
30
30
  },
31
31
  "devDependencies": {
32
32
  "rimraf": "^6.1.3",