eslint-plugin-oxfmt 0.3.0 → 0.4.1

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 CHANGED
@@ -49,7 +49,9 @@ const parserPlain = dist_exports;
49
49
  const recommended = {
50
50
  name: "oxfmt/recommended",
51
51
  languageOptions: { parser: parserPlain },
52
- plugins: { get oxfmt() {
52
+ plugins: {
53
+ /* v8 ignore start */
54
+ get oxfmt() {
53
55
  return plugin;
54
56
  } },
55
57
  rules: { "oxfmt/oxfmt": "error" }
@@ -59,7 +61,7 @@ const configs = { recommended };
59
61
  //#region src/meta.ts
60
62
  const meta = {
61
63
  name: "eslint-plugin-oxfmt",
62
- version: "0.3.0"
64
+ version: "0.4.1"
63
65
  };
64
66
  //#endregion
65
67
  //#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.3.0",
4
+ "version": "0.4.1",
5
5
  "description": "An ESLint plugin for formatting code with oxfmt.",
6
6
  "keywords": [
7
7
  "eslint",
@@ -44,35 +44,35 @@
44
44
  "sideEffects": false,
45
45
  "peerDependencies": {
46
46
  "eslint": "^9.5.0 || ^10.0.0",
47
- "oxfmt": ">=0.43.0"
47
+ "oxfmt": ">=0.45.0"
48
48
  },
49
49
  "dependencies": {
50
50
  "generate-differences": "^0.1.1",
51
- "load-oxfmt-config": "^0.3.1",
51
+ "load-oxfmt-config": "^0.4.1",
52
52
  "picomatch": "^4.0.4",
53
53
  "synckit": "^0.11.12"
54
54
  },
55
55
  "devDependencies": {
56
- "@ntnyq/eslint-config": "^6.0.0",
56
+ "@ntnyq/eslint-config": "^6.1.0",
57
57
  "@types/json-schema": "^7.0.15",
58
- "@types/node": "^25.5.0",
59
- "@typescript/native-preview": "^7.0.0-dev.20260331.1",
58
+ "@types/node": "^25.6.0",
59
+ "@typescript/native-preview": "^7.0.0-dev.20260426.1",
60
60
  "bumpp": "^11.0.1",
61
- "eslint": "^10.1.0",
61
+ "eslint": "^10.2.1",
62
62
  "eslint-parser-plain": "^0.1.1",
63
63
  "eslint-typegen": "^2.3.1",
64
64
  "eslint-vitest-rule-tester": "^3.1.0",
65
65
  "husky": "^9.1.7",
66
- "nano-staged": "^0.9.0",
66
+ "nano-staged": "^1.0.2",
67
67
  "npm-run-all2": "^8.0.4",
68
- "oxfmt": "^0.43.0",
68
+ "oxfmt": "^0.46.0",
69
69
  "show-invisibles": "^0.0.2",
70
- "tinyglobby": "^0.2.15",
71
- "tsdown": "^0.21.7",
70
+ "tinyglobby": "^0.2.16",
71
+ "tsdown": "^0.21.10",
72
72
  "tsx": "^4.21.0",
73
- "typescript": "^6.0.2",
74
- "vitest": "^4.1.2",
75
- "eslint-plugin-oxfmt": "0.3.0"
73
+ "typescript": "^6.0.3",
74
+ "vitest": "^4.1.5",
75
+ "eslint-plugin-oxfmt": "0.4.1"
76
76
  },
77
77
  "engines": {
78
78
  "node": "^20.19.0 || >=22.12.0"
package/workers/oxfmt.mjs CHANGED
@@ -283,6 +283,7 @@ async function resolveBaseOptions(
283
283
  return cachedTask
284
284
  }
285
285
 
286
+ /** @type {Promise<ResolvedBaseOptions>} */
286
287
  const task = (async () => {
287
288
  const resolveFromDir = dirname(filename)
288
289