@destination/oxc-config 0.1.2 → 0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@destination/oxc-config",
3
- "version": "0.1.2",
3
+ "version": "0.2.0",
4
4
  "description": "Oxlint and Oxfmt config used by Destination",
5
5
  "keywords": [
6
6
  "oxc",
@@ -31,7 +31,7 @@
31
31
  "check": "oxlint && oxfmt --check"
32
32
  },
33
33
  "devDependencies": {
34
- "@destination/eslint-config": "^3.2.0",
34
+ "@destination/eslint-config": "^3.3.0",
35
35
  "@oxlint/migrate": "^1.95.0",
36
36
  "eslint": "^10.15.0",
37
37
  "oxfmt": "^0.80.0",
package/src/oxlintrc.json CHANGED
@@ -218,12 +218,19 @@
218
218
  "allow": ["warn", "error", "info"]
219
219
  }
220
220
  ],
221
+ "no-param-reassign": "error",
221
222
  "curly": ["error", "all"],
222
223
  "import/namespace": "error",
223
224
  "import/default": "error",
224
225
  "import/no-named-as-default": "warn",
225
226
  "import/no-named-as-default-member": "warn",
226
227
  "import/no-duplicates": "warn",
228
+ "import/no-cycle": [
229
+ "error",
230
+ {
231
+ "ignoreExternal": true
232
+ }
233
+ ],
227
234
  "typescript/await-thenable": "error",
228
235
  "typescript/ban-ts-comment": "error",
229
236
  "typescript/no-array-delete": "error",
@@ -264,7 +271,8 @@
264
271
  "typescript/restrict-plus-operands": "error",
265
272
  "typescript/restrict-template-expressions": "error",
266
273
  "typescript/triple-slash-reference": "error",
267
- "typescript/unbound-method": "error"
274
+ "typescript/unbound-method": "error",
275
+ "typescript/switch-exhaustiveness-check": "error"
268
276
  },
269
277
  "overrides": [
270
278
  {