eslint-plugin-oxfmt 0.10.0 → 0.11.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/dist/index.mjs CHANGED
@@ -79,14 +79,14 @@ const configs = {
79
79
  //#region src/meta.ts
80
80
  const meta = {
81
81
  name: "eslint-plugin-oxfmt",
82
- version: "0.10.0"
82
+ version: "0.11.0"
83
83
  };
84
84
  //#endregion
85
85
  //#region src/dir.ts
86
86
  const dirWorkers = fileURLToPath(new URL("../workers", import.meta.url));
87
87
  //#endregion
88
88
  //#region node_modules/.pnpm/show-invisibles@0.0.2/node_modules/show-invisibles/dist/index.js
89
- const DEFAULT_MAPPINGS = new Map([
89
+ const DEFAULT_MAPPINGS = /* @__PURE__ */ new Map([
90
90
  [" ", "·"],
91
91
  ["\n", "⏎"],
92
92
  ["\r", "␍"],
@@ -482,6 +482,8 @@ const oxfmtOptionsSchema = {
482
482
  }
483
483
  }
484
484
  };
485
+ const oxfmtOverrideOptionsSchemaProperties = { ...oxfmtOptionsSchema.properties };
486
+ delete oxfmtOverrideOptionsSchemaProperties.ignorePatterns;
485
487
  const oxfmtConfigSchema = {
486
488
  additionalProperties: false,
487
489
  type: "object",
@@ -564,7 +566,7 @@ const oxfmtRuleSchema = {
564
566
  additionalProperties: false,
565
567
  description: `Format options to apply for matched files.`,
566
568
  type: "object",
567
- properties: { ...oxfmtOptionsSchema.properties }
569
+ properties: { ...oxfmtOverrideOptionsSchemaProperties }
568
570
  }
569
571
  }
570
572
  }
@@ -180,8 +180,6 @@ export type OxfmtOxfmt = []|[{
180
180
 
181
181
  htmlWhitespaceSensitivity?: ("css" | "ignore" | "strict")
182
182
 
183
- ignorePatterns?: string[]
184
-
185
183
  insertFinalNewline?: boolean
186
184
 
187
185
  jsdoc?: (boolean | {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "eslint-plugin-oxfmt",
3
3
  "type": "module",
4
- "version": "0.10.0",
4
+ "version": "0.11.0",
5
5
  "description": "An ESLint plugin for formatting code with oxfmt.",
6
6
  "keywords": [
7
7
  "eslint",
@@ -47,7 +47,7 @@
47
47
  "sideEffects": false,
48
48
  "peerDependencies": {
49
49
  "eslint": "^9.5.0 || ^10.0.0",
50
- "oxfmt": ">=0.54.0",
50
+ "oxfmt": ">=0.56.0",
51
51
  "svelte": "*"
52
52
  },
53
53
  "peerDependenciesMeta": {
@@ -57,33 +57,33 @@
57
57
  },
58
58
  "dependencies": {
59
59
  "generate-differences": "^0.1.1",
60
- "load-oxfmt-config": "^0.11.0",
60
+ "load-oxfmt-config": "^0.12.1",
61
61
  "picomatch": "^4.0.4",
62
62
  "synckit": "^0.11.13"
63
63
  },
64
64
  "devDependencies": {
65
65
  "@ntnyq/eslint-config": "^6.1.5",
66
66
  "@types/json-schema": "^7.0.15",
67
- "@types/node": "^25.9.2",
68
- "@typescript/native-preview": "^7.0.0-dev.20260610.1",
67
+ "@types/node": "^26.0.0",
68
+ "@typescript/native-preview": "^7.0.0-dev.20260622.1",
69
69
  "bumpp": "^11.1.0",
70
- "eslint": "^10.4.1",
70
+ "eslint": "^10.5.0",
71
71
  "eslint-parser-plain": "^0.1.1",
72
72
  "eslint-typegen": "^2.3.1",
73
73
  "eslint-vitest-rule-tester": "^3.1.0",
74
74
  "husky": "^9.1.7",
75
75
  "jsonc-eslint-parser": "^3.1.0",
76
76
  "nano-staged": "^1.0.2",
77
- "npm-run-all2": "^9.0.1",
78
- "oxfmt": "^0.54.0",
77
+ "npm-run-all2": "^9.0.2",
78
+ "oxfmt": "^0.56.0",
79
79
  "show-invisibles": "^0.0.2",
80
80
  "svelte": "^5.56.3",
81
81
  "tinyglobby": "^0.2.17",
82
- "tsdown": "^0.22.2",
82
+ "tsdown": "^0.22.3",
83
83
  "tsx": "^4.22.4",
84
84
  "typescript": "^6.0.3",
85
- "vitest": "^4.1.8",
86
- "eslint-plugin-oxfmt": "0.10.0"
85
+ "vitest": "^4.1.9",
86
+ "eslint-plugin-oxfmt": "0.11.0"
87
87
  },
88
88
  "engines": {
89
89
  "node": "^20.19.0 || >=22.12.0"