ultracite 7.6.1 → 7.6.3

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.
@@ -54,7 +54,8 @@
54
54
  "!!**/package-lock.json",
55
55
  "!!**/yarn.lock",
56
56
  "!!**/pnpm-lock.yaml",
57
- "!!**/next-env.d.ts"
57
+ "!!**/next-env.d.ts",
58
+ "!!**/worker-configuration.d.ts"
58
59
  ]
59
60
  },
60
61
  "formatter": {
@@ -49,6 +49,7 @@ export default defineConfig({
49
49
  "default-param-last": "error",
50
50
  eqeqeq: "error",
51
51
  "for-direction": "error",
52
+ "func-name-matching": "error",
52
53
  "func-names": "error",
53
54
  "func-style": [
54
55
  "error",
@@ -160,6 +161,7 @@ export default defineConfig({
160
161
  "no-throw-literal": "error",
161
162
  "no-unassigned-vars": "error",
162
163
  "no-undefined": "off",
164
+ "no-underscore-dangle": "off",
163
165
  "no-unexpected-multiline": "error",
164
166
  "no-unmodified-loop-condition": "error",
165
167
  "no-unneeded-ternary": "error",
@@ -333,6 +335,7 @@ export default defineConfig({
333
335
  "typescript/consistent-type-imports": "error",
334
336
  "typescript/dot-notation": "error",
335
337
  "typescript/explicit-function-return-type": "off",
338
+ "typescript/explicit-member-accessibility": "off",
336
339
  "typescript/explicit-module-boundary-types": "off",
337
340
  "typescript/no-array-delete": "error",
338
341
  "typescript/no-base-to-string": "error",
@@ -489,7 +492,8 @@ export default defineConfig({
489
492
  "unicorn/no-useless-switch-case": "error",
490
493
  "unicorn/no-useless-undefined": "error",
491
494
  "unicorn/no-zero-fractions": "error",
492
- "unicorn/number-literal-case": "error",
495
+ // Disabled due to https://github.com/oxc-project/oxc/issues/21949
496
+ "unicorn/number-literal-case": "off",
493
497
  "unicorn/numeric-separators-style": "error",
494
498
  "unicorn/prefer-add-event-listener": "error",
495
499
  "unicorn/prefer-array-find": "error",
@@ -66,6 +66,9 @@ export default defineConfig({
66
66
  "jest/valid-expect-in-promise": "error",
67
67
  "jest/valid-title": "error",
68
68
 
69
+ // Disabled: too strict for general use — not all tests need explicit assertion counts
70
+ "jest/prefer-expect-assertions": "off",
71
+
69
72
  // Disabled: bun:test mock.module() must be called at top level
70
73
  "jest/require-hook": "off",
71
74
 
@@ -7,6 +7,7 @@ export default defineConfig({
7
7
  "react-perf/jsx-no-jsx-as-prop": "off",
8
8
  "react-perf/jsx-no-new-array-as-prop": "off",
9
9
  "react-perf/jsx-no-new-object-as-prop": "off",
10
+ "react/forbid-component-props": "off",
10
11
  "react/jsx-boolean-value": "off",
11
12
  "react/jsx-filename-extension": "off",
12
13
  "react/jsx-max-depth": "off",
@@ -14,6 +14,8 @@ export default defineConfig({
14
14
  "vitest/consistent-vitest-vi": "error",
15
15
  "vitest/expect-expect": "error",
16
16
  "vitest/hoisted-apis-on-top": "error",
17
+ "vitest/max-expects": "error",
18
+ "vitest/max-nested-describe": "error",
17
19
  "vitest/no-alias-methods": "error",
18
20
  "vitest/no-commented-out-tests": "error",
19
21
  "vitest/no-conditional-expect": "error",
@@ -86,6 +88,15 @@ export default defineConfig({
86
88
 
87
89
  // Disabled: too strict for general use — not all async tests need explicit timeouts
88
90
  "vitest/require-test-timeout": "off",
91
+
92
+ // Disabled: mock factories use conditionals for path-based routing
93
+ "vitest/no-conditional-in-test": "off",
94
+
95
+ // Disabled: bun:test uses beforeEach hooks for mock.restore()
96
+ "vitest/no-hooks": "off",
97
+
98
+ // Disabled: too strict for general use — not all tests need explicit assertion counts
99
+ "vitest/prefer-expect-assertions": "off",
89
100
  },
90
101
  },
91
102
  ],
@@ -63,4 +63,5 @@ export const ignorePatterns = [
63
63
 
64
64
  // ── Framework type definitions ────────────────────────────────────
65
65
  "**/next-env.d.ts",
66
+ "**/worker-configuration.d.ts",
66
67
  ];