eslint-plugin-oxfmt 0.26.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 CHANGED
@@ -24,22 +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.71.0`
28
-
29
- Upgrading from oxfmt 0.70.0 to 0.71.0 preserves comment order around test-call
30
- arguments and comments on either side of assignment operators. It also fixes
31
- adjacent block comments, trailing spaces in block comments, and JSDoc hard
32
- breaks, including `/***` comments. The bundled Prettier upgrade from 3.9.6 to
33
- 3.9.9 fixes embedded template indentation and Markdown handling of single
34
- tildes, dollar signs, Liquid syntax, blockquotes, and list indentation. Existing
35
- files may receive formatting fixes after upgrading. No formatting options were
36
- added, renamed, or removed, and config merge precedence is unchanged.
37
-
38
- The upstream native Markdown formatter is not yet used by the published
39
- formatting API; Markdown still uses Prettier, including frontmatter formatting.
40
- The upstream fix for repeated CLI calls in one process does not affect this
41
- plugin's worker, which uses the formatting API.
42
- See the upstream [0.71.0 release notes](https://github.com/oxc-project/oxc/releases/tag/oxfmt_v0.71.0).
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).
43
45
 
44
46
  The monorepo migration aligns the Node.js requirement with `load-oxfmt-config`; Node.js 20 is no longer supported.
45
47
 
package/dist/index.mjs CHANGED
@@ -80,7 +80,7 @@ const configs = {
80
80
  //#region src/meta.ts
81
81
  const meta = {
82
82
  name: "eslint-plugin-oxfmt",
83
- version: "0.26.0"
83
+ version: "0.27.0"
84
84
  };
85
85
  //#endregion
86
86
  //#region src/dir.ts
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "eslint-plugin-oxfmt",
3
3
  "type": "module",
4
- "version": "0.26.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.71.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.10",
62
- "load-oxfmt-config": "^0.26.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.26.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.1",
74
+ "svelte": "^5.57.2",
75
75
  "tinyglobby": "^0.2.17"
76
76
  },
77
77
  "engines": {