eslint-plugin-oxfmt 0.25.0 → 0.27.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/README.md +18 -15
- package/dist/index.mjs +1 -1
- package/package.json +6 -7
package/README.md
CHANGED
|
@@ -24,21 +24,24 @@ Maintained in the [eslint-plugin-oxfmt monorepo](https://github.com/ntnyq/eslint
|
|
|
24
24
|
|
|
25
25
|
- **ESLint**: `^9.5.0 || ^10.0.0` (Only supports ESLint flat config)
|
|
26
26
|
- **Node.js**: `^22.13.0 || >=24`
|
|
27
|
-
- **oxfmt**: `>= 0.
|
|
28
|
-
|
|
29
|
-
Upgrading from oxfmt 0.
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
27
|
+
- **oxfmt**: `>= 0.72.0`
|
|
28
|
+
|
|
29
|
+
Upgrading from oxfmt 0.71.0 to 0.72.0 switches Markdown to the native formatter.
|
|
30
|
+
JavaScript and TypeScript code fences now use Oxc formatting, including
|
|
31
|
+
`sortImports` and `sortTailwindcss` when enabled. Markdown block directives are
|
|
32
|
+
supported, Chinese/Japanese line breaks are preserved across `proseWrap`
|
|
33
|
+
settings, and list/container prefixes remain spaces with `useTabs`. Review
|
|
34
|
+
Markdown and embedded code formatting changes after upgrading; YAML frontmatter
|
|
35
|
+
formatting remains supported.
|
|
36
|
+
|
|
37
|
+
The release also fixes `quoteProps: consistent` in destructuring patterns and
|
|
38
|
+
around computed keys, comments between callees and their opening delimiters,
|
|
39
|
+
assignment-target comments, embedded template layouts, and CSS/JSON formatting.
|
|
40
|
+
No formatting options were added, renamed, or removed, and config merge
|
|
41
|
+
precedence is unchanged. The loader already respects excluded parent
|
|
42
|
+
directories and checks global ignores before loading nested configs; these
|
|
43
|
+
upstream fixes require no loader API changes.
|
|
44
|
+
See the upstream [0.72.0 release notes](https://github.com/oxc-project/oxc/releases/tag/oxfmt_v0.72.0).
|
|
42
45
|
|
|
43
46
|
The monorepo migration aligns the Node.js requirement with `load-oxfmt-config`; Node.js 20 is no longer supported.
|
|
44
47
|
|
package/dist/index.mjs
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.27.0",
|
|
5
5
|
"description": "An ESLint plugin for formatting code with oxfmt.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"eslint",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"sideEffects": false,
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"eslint": "^9.5.0 || ^10.0.0",
|
|
51
|
-
"oxfmt": ">=0.
|
|
51
|
+
"oxfmt": ">=0.72.0",
|
|
52
52
|
"svelte": "*"
|
|
53
53
|
},
|
|
54
54
|
"peerDependenciesMeta": {
|
|
@@ -58,20 +58,20 @@
|
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
60
|
"generate-differences": "^0.1.1",
|
|
61
|
-
"ignore": "^7.0.
|
|
62
|
-
"load-oxfmt-config": "^0.
|
|
61
|
+
"ignore": "^7.0.12",
|
|
62
|
+
"load-oxfmt-config": "^0.27.0",
|
|
63
63
|
"picomatch": "^4.0.7",
|
|
64
64
|
"synckit": "^0.11.13"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
67
|
"@types/json-schema": "^7.0.15",
|
|
68
68
|
"eslint-parser-plain": "^0.1.1",
|
|
69
|
-
"eslint-plugin-oxfmt": "0.
|
|
69
|
+
"eslint-plugin-oxfmt": "0.27.0",
|
|
70
70
|
"eslint-typegen": "^2.3.1",
|
|
71
71
|
"eslint-vitest-rule-tester": "^3.2.0",
|
|
72
72
|
"jsonc-eslint-parser": "^3.3.0",
|
|
73
73
|
"show-invisibles": "^0.0.2",
|
|
74
|
-
"svelte": "^5.57.
|
|
74
|
+
"svelte": "^5.57.2",
|
|
75
75
|
"tinyglobby": "^0.2.17"
|
|
76
76
|
},
|
|
77
77
|
"engines": {
|
|
@@ -81,7 +81,6 @@
|
|
|
81
81
|
"build": "pnpm run update:rule-options && tsdown",
|
|
82
82
|
"check:schema": "tsx scripts/checkSchemaParity.ts",
|
|
83
83
|
"dev": "tsdown --watch",
|
|
84
|
-
"test": "vitest run --root . --config ../../vitest.config.ts",
|
|
85
84
|
"update:rule-options": "tsx scripts/updateRuleOptions.ts"
|
|
86
85
|
}
|
|
87
86
|
}
|