eslint-plugin-oxfmt 0.25.0 → 0.26.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,21 +24,22 @@ 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.70.0`
28
-
29
- Upgrading from oxfmt 0.68.0 to 0.70.0 fixes comments after assignment operators,
30
- leading union comments after `as` and `satisfies`, multiline block comments,
31
- typecast arrow bodies, and parentheses in suppressed type aliases. JSX `fbt`
32
- elements now preserve adjacency between text and child components. Existing
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
33
35
  files may receive formatting fixes after upgrading. No formatting options were
34
36
  added, renamed, or removed, and config merge precedence is unchanged.
35
37
 
36
38
  The upstream native Markdown formatter is not yet used by the published
37
39
  formatting API; Markdown still uses Prettier, including frontmatter formatting.
38
- The Vite+ config discovery changes do not affect this plugin's standalone oxfmt
39
- config loading or nested config support.
40
- See the upstream [0.69.0 release notes](https://github.com/oxc-project/oxc/releases/tag/apps_v1.84.0)
41
- and [0.70.0 release notes](https://github.com/oxc-project/oxc/releases/tag/oxfmt_v0.70.0).
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).
42
43
 
43
44
  The monorepo migration aligns the Node.js requirement with `load-oxfmt-config`; Node.js 20 is no longer supported.
44
45
 
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.25.0"
83
+ version: "0.26.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.25.0",
4
+ "version": "0.26.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.70.0",
51
+ "oxfmt": ">=0.71.0",
52
52
  "svelte": "*"
53
53
  },
54
54
  "peerDependenciesMeta": {
@@ -58,15 +58,15 @@
58
58
  },
59
59
  "dependencies": {
60
60
  "generate-differences": "^0.1.1",
61
- "ignore": "^7.0.9",
62
- "load-oxfmt-config": "^0.25.0",
61
+ "ignore": "^7.0.10",
62
+ "load-oxfmt-config": "^0.26.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.25.0",
69
+ "eslint-plugin-oxfmt": "0.26.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",
@@ -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
  }