eslint-plugin-oxfmt 0.28.0 → 0.29.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 +15 -1
- package/dist/index.mjs +1 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -24,7 +24,21 @@ 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.
|
|
27
|
+
- **oxfmt**: `>= 0.74.0`
|
|
28
|
+
|
|
29
|
+
Upgrading from oxfmt 0.73.0 to 0.74.0 accepts BOM-prefixed JSON/JSONC configs
|
|
30
|
+
and uses EditorConfig `indent_size` as a fallback when `tab_width` is absent,
|
|
31
|
+
including when `indent_style` is unspecified or set to `tab`. Out-of-range
|
|
32
|
+
EditorConfig widths are reported as configuration errors. Config merge
|
|
33
|
+
precedence is unchanged; no options were added, renamed, or removed.
|
|
34
|
+
Scoped `indent_size` settings now take effect without repeating `indent_style`,
|
|
35
|
+
so existing EditorConfig sections may change indentation.
|
|
36
|
+
|
|
37
|
+
Upstream fixes formatting of import comments, JSDoc, TypeScript parentheses,
|
|
38
|
+
JSX, CSS-in-JS, Markdown, YAML, and TOML BOMs, rejects more invalid JSON, and
|
|
39
|
+
corrects parse-error positions for CRLF and BOM-prefixed source. Review affected
|
|
40
|
+
outputs after upgrading. See the upstream
|
|
41
|
+
[0.74.0 release notes](https://github.com/oxc-project/oxc/releases/tag/oxfmt_v0.74.0).
|
|
28
42
|
|
|
29
43
|
Upgrading from oxfmt 0.72.0 to 0.73.0 adds language `associations` and opt-in
|
|
30
44
|
Astro formatting. Install `@astrojs/compiler-rs` to use `astro: true` or an Astro
|
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.29.0",
|
|
5
5
|
"description": "An ESLint plugin for formatting code with oxfmt.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"eslint",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"@astrojs/compiler-rs": "*",
|
|
51
51
|
"eslint": "^9.5.0 || ^10.0.0",
|
|
52
|
-
"oxfmt": ">=0.
|
|
52
|
+
"oxfmt": ">=0.74.0",
|
|
53
53
|
"svelte": "*"
|
|
54
54
|
},
|
|
55
55
|
"peerDependenciesMeta": {
|
|
@@ -62,16 +62,16 @@
|
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
64
|
"generate-differences": "^0.1.1",
|
|
65
|
-
"ignore": "^7.0.
|
|
66
|
-
"load-oxfmt-config": "^0.
|
|
65
|
+
"ignore": "^7.0.13",
|
|
66
|
+
"load-oxfmt-config": "^0.29.0",
|
|
67
67
|
"picomatch": "^4.0.7",
|
|
68
68
|
"synckit": "^0.12.3"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
|
-
"@astrojs/compiler-rs": "^0.5.
|
|
71
|
+
"@astrojs/compiler-rs": "^0.5.2",
|
|
72
72
|
"@types/json-schema": "^7.0.15",
|
|
73
73
|
"eslint-parser-plain": "^0.1.1",
|
|
74
|
-
"eslint-plugin-oxfmt": "0.
|
|
74
|
+
"eslint-plugin-oxfmt": "0.29.0",
|
|
75
75
|
"eslint-typegen": "^2.3.1",
|
|
76
76
|
"eslint-vitest-rule-tester": "^3.2.0",
|
|
77
77
|
"jsonc-eslint-parser": "^3.3.0",
|