eslint-plugin-oxfmt 0.9.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 +5 -3
- package/dts/rule-options.d.ts +0 -2
- package/package.json +16 -13
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.
|
|
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: { ...
|
|
569
|
+
properties: { ...oxfmtOverrideOptionsSchemaProperties }
|
|
568
570
|
}
|
|
569
571
|
}
|
|
570
572
|
}
|
package/dts/rule-options.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-oxfmt",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.11.0",
|
|
5
5
|
"description": "An ESLint plugin for formatting code with oxfmt.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"eslint",
|
|
@@ -17,7 +17,10 @@
|
|
|
17
17
|
"email": "ntnyq13@gmail.com"
|
|
18
18
|
},
|
|
19
19
|
"homepage": "https://github.com/ntnyq/eslint-plugin-oxfmt#readme",
|
|
20
|
-
"repository":
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "ntnyq/eslint-plugin-oxfmt"
|
|
23
|
+
},
|
|
21
24
|
"bugs": {
|
|
22
25
|
"url": "https://github.com/ntnyq/eslint-plugin-oxfmt/issues"
|
|
23
26
|
},
|
|
@@ -44,7 +47,7 @@
|
|
|
44
47
|
"sideEffects": false,
|
|
45
48
|
"peerDependencies": {
|
|
46
49
|
"eslint": "^9.5.0 || ^10.0.0",
|
|
47
|
-
"oxfmt": ">=0.
|
|
50
|
+
"oxfmt": ">=0.56.0",
|
|
48
51
|
"svelte": "*"
|
|
49
52
|
},
|
|
50
53
|
"peerDependenciesMeta": {
|
|
@@ -54,33 +57,33 @@
|
|
|
54
57
|
},
|
|
55
58
|
"dependencies": {
|
|
56
59
|
"generate-differences": "^0.1.1",
|
|
57
|
-
"load-oxfmt-config": "^0.
|
|
60
|
+
"load-oxfmt-config": "^0.12.1",
|
|
58
61
|
"picomatch": "^4.0.4",
|
|
59
62
|
"synckit": "^0.11.13"
|
|
60
63
|
},
|
|
61
64
|
"devDependencies": {
|
|
62
65
|
"@ntnyq/eslint-config": "^6.1.5",
|
|
63
66
|
"@types/json-schema": "^7.0.15",
|
|
64
|
-
"@types/node": "^
|
|
65
|
-
"@typescript/native-preview": "^7.0.0-dev.
|
|
67
|
+
"@types/node": "^26.0.0",
|
|
68
|
+
"@typescript/native-preview": "^7.0.0-dev.20260622.1",
|
|
66
69
|
"bumpp": "^11.1.0",
|
|
67
|
-
"eslint": "^10.
|
|
70
|
+
"eslint": "^10.5.0",
|
|
68
71
|
"eslint-parser-plain": "^0.1.1",
|
|
69
72
|
"eslint-typegen": "^2.3.1",
|
|
70
73
|
"eslint-vitest-rule-tester": "^3.1.0",
|
|
71
74
|
"husky": "^9.1.7",
|
|
72
75
|
"jsonc-eslint-parser": "^3.1.0",
|
|
73
76
|
"nano-staged": "^1.0.2",
|
|
74
|
-
"npm-run-all2": "^9.0.
|
|
75
|
-
"oxfmt": "^0.
|
|
77
|
+
"npm-run-all2": "^9.0.2",
|
|
78
|
+
"oxfmt": "^0.56.0",
|
|
76
79
|
"show-invisibles": "^0.0.2",
|
|
77
|
-
"svelte": "^5.56.
|
|
80
|
+
"svelte": "^5.56.3",
|
|
78
81
|
"tinyglobby": "^0.2.17",
|
|
79
|
-
"tsdown": "^0.22.
|
|
82
|
+
"tsdown": "^0.22.3",
|
|
80
83
|
"tsx": "^4.22.4",
|
|
81
84
|
"typescript": "^6.0.3",
|
|
82
|
-
"vitest": "^4.1.
|
|
83
|
-
"eslint-plugin-oxfmt": "0.
|
|
85
|
+
"vitest": "^4.1.9",
|
|
86
|
+
"eslint-plugin-oxfmt": "0.11.0"
|
|
84
87
|
},
|
|
85
88
|
"engines": {
|
|
86
89
|
"node": "^20.19.0 || >=22.12.0"
|