ultracite 7.6.0 → 7.6.2

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.
@@ -1,9 +1,62 @@
1
1
  {
2
2
  "root": false,
3
3
  "$schema": "../../../node_modules/@biomejs/biome/configuration_schema.json",
4
- "extends": ["../../shared/ignores.jsonc"],
5
4
  "files": {
6
- "ignoreUnknown": true
5
+ "ignoreUnknown": true,
6
+ // Populated by scripts/generate-dts.ts from config/shared/ignores.mjs.
7
+ // Inlined (rather than extended from a separate jsonc file) so the !!
8
+ // globs survive merge when consumers define their own files.includes —
9
+ // see issue #679.
10
+ "includes": [
11
+ "**",
12
+ "!!**/dist",
13
+ "!!**/build",
14
+ "!!**/out",
15
+ "!!**/.next",
16
+ "!!**/.open-next",
17
+ "!!**/.nuxt",
18
+ "!!**/.output",
19
+ "!!**/.svelte-kit",
20
+ "!!**/.vitepress/cache",
21
+ "!!**/.vitepress/dist",
22
+ "!!**/.turbo",
23
+ "!!**/.vercel",
24
+ "!!**/.netlify",
25
+ "!!**/.docusaurus",
26
+ "!!**/.cache",
27
+ "!!**/.parcel-cache",
28
+ "!!**/.vite",
29
+ "!!**/.astro",
30
+ "!!**/_astro",
31
+ "!!**/public/build",
32
+ "!!**/storybook-static",
33
+ "!!**/_generated",
34
+ "!!**/*.gen.*",
35
+ "!!**/*.generated.*",
36
+ "!!**/*.auto.*",
37
+ "!!**/generated",
38
+ "!!**/auto-generated",
39
+ "!!**/codegen",
40
+ "!!**/__generated__",
41
+ "!!**/graphql-types.*",
42
+ "!!**/schema.d.ts",
43
+ "!!**/schema.graphql.d.ts",
44
+ "!!**/*.d.ts.map",
45
+ "!!**/coverage",
46
+ "!!**/.nyc_output",
47
+ "!!**/.expo",
48
+ "!!**/.expo-shared",
49
+ "!!**/android/build",
50
+ "!!**/ios/build",
51
+ "!!**/DerivedData/**/*",
52
+ "!!**/bun.lock",
53
+ "!!**/bun.lockb",
54
+ "!!**/package-lock.json",
55
+ "!!**/yarn.lock",
56
+ "!!**/pnpm-lock.yaml",
57
+ "!!**/next-env.d.ts",
58
+ "!!**/worker-configuration.d.ts"
59
+ ]
7
60
  },
8
61
  "formatter": {
9
62
  "enabled": true,
@@ -9,7 +9,6 @@ const baseRules = Object.fromEntries(
9
9
  );
10
10
 
11
11
  const overrideRules = {
12
- "import-x/enforce-node-protocol-usage": ["error", "always"],
13
12
  "import-x/exports-last": "off",
14
13
  "import-x/extensions": "off",
15
14
  "import-x/group-exports": "off",
@@ -403,7 +403,7 @@ export default defineConfig({
403
403
  "typescript/prefer-nullish-coalescing": "error",
404
404
  "typescript/prefer-promise-reject-errors": "error",
405
405
  "typescript/prefer-readonly": "error",
406
- "typescript/prefer-readonly-parameter-types": "error",
406
+ "typescript/prefer-readonly-parameter-types": "off",
407
407
  "typescript/prefer-reduce-type-parameter": "error",
408
408
  "typescript/prefer-regexp-exec": "error",
409
409
  "typescript/prefer-return-this-type": "error",
@@ -1,9 +1,9 @@
1
1
  /**
2
2
  * Canonical ignore patterns shared across all linters and formatters.
3
3
  *
4
- * This file is the single source of truth. The prebuild script generates
5
- * ignores.jsonc from this list (for biome's `extends`). Other tools
6
- * (oxlint, oxfmt, eslint) import this module directly.
4
+ * This file is the single source of truth. The prebuild script syncs these
5
+ * patterns into biome/core's files.includes (as `!!`-prefixed globs). Other
6
+ * tools (oxlint, oxfmt, eslint) import this module directly.
7
7
  */
8
8
  export const ignorePatterns = [
9
9
  // ── Build / framework output ──────────────────────────────────────
@@ -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
  ];