eslint-plugin-oxfmt 0.0.10 → 0.0.11

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
@@ -135,7 +135,7 @@ All options are optional and default to sensible values.
135
135
  | Option | Type | Default | Description |
136
136
  | ------------ | --------- | ------- | ------------------------------------------------------------------------------------------------------ |
137
137
  | `useConfig` | `boolean` | `true` | Load `.oxfmtrc` / config files via `load-oxfmt-config`. Set to `false` to rely only on inline options. |
138
- | `configPath` | `string` | — | Custom path to an oxfmt config file. Resolved from ESLint `cwd` when set. |
138
+ | `configPath` | `string` | — | Custom path to an oxfmt config file. Resolved from ESLint `cwd` when set. |
139
139
 
140
140
  > Note: `cwd` is taken from ESLint automatically; you usually do not need to set it manually.
141
141
 
package/dist/index.mjs CHANGED
@@ -7,9 +7,9 @@ import { DIFFERENCE, generateDifferences } from "generate-differences";
7
7
  var __defProp = Object.defineProperty;
8
8
  var __exportAll = (all, symbols) => {
9
9
  let target = {};
10
- for (var name$2 in all) {
11
- __defProp(target, name$2, {
12
- get: all[name$2],
10
+ for (var name in all) {
11
+ __defProp(target, name, {
12
+ get: all[name],
13
13
  enumerable: true
14
14
  });
15
15
  }
@@ -67,7 +67,7 @@ const configs = { recommended };
67
67
  //#endregion
68
68
  //#region package.json
69
69
  var name = "eslint-plugin-oxfmt";
70
- var version = "0.0.10";
70
+ var version = "0.0.11";
71
71
 
72
72
  //#endregion
73
73
  //#region src/meta.ts
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "eslint-plugin-oxfmt",
3
3
  "type": "module",
4
- "version": "0.0.10",
4
+ "version": "0.0.11",
5
5
  "description": "An ESLint plugin for formatting code with oxfmt.",
6
6
  "keywords": [
7
7
  "eslint",
@@ -44,18 +44,18 @@
44
44
  "sideEffects": false,
45
45
  "peerDependencies": {
46
46
  "eslint": "^9.5.0",
47
- "oxfmt": "^0.26.0"
47
+ "oxfmt": "^0.27.0"
48
48
  },
49
49
  "dependencies": {
50
50
  "generate-differences": "^0.1.1",
51
- "load-oxfmt-config": "^0.0.7",
51
+ "load-oxfmt-config": "^0.0.8",
52
52
  "synckit": "^0.11.12"
53
53
  },
54
54
  "devDependencies": {
55
- "@ntnyq/eslint-config": "^6.0.0-beta.2",
55
+ "@ntnyq/eslint-config": "^6.0.0-beta.4",
56
56
  "@types/json-schema": "^7.0.15",
57
57
  "@types/node": "^25.0.10",
58
- "@typescript/native-preview": "^7.0.0-dev.20260120.1",
58
+ "@typescript/native-preview": "^7.0.0-dev.20260126.1",
59
59
  "bumpp": "^10.4.0",
60
60
  "eslint": "^9.39.2",
61
61
  "eslint-parser-plain": "^0.1.1",
@@ -64,20 +64,21 @@
64
64
  "husky": "^9.1.7",
65
65
  "nano-staged": "^0.9.0",
66
66
  "npm-run-all2": "^8.0.4",
67
- "oxfmt": "^0.26.0",
67
+ "oxfmt": "^0.27.0",
68
68
  "show-invisibles": "^0.0.2",
69
69
  "tinyglobby": "^0.2.15",
70
- "tsdown": "^0.20.0-beta.4",
70
+ "tsdown": "^0.20.1",
71
71
  "tsx": "^4.21.0",
72
72
  "typescript": "^5.9.3",
73
- "vitest": "^4.0.17",
74
- "eslint-plugin-oxfmt": "0.0.10"
73
+ "vitest": "^4.0.18",
74
+ "eslint-plugin-oxfmt": "0.0.11"
75
75
  },
76
76
  "engines": {
77
77
  "node": "^20.19.0 || >=22.12.0"
78
78
  },
79
79
  "nano-staged": {
80
- "*.{js,ts,mjs,cjs,md,vue,yml,yaml,toml,json}": "eslint --fix"
80
+ "*.{js,ts,mjs,cjs,md,vue,yml,yaml,toml,json}": "eslint --fix",
81
+ "*": "oxfmt --no-error-on-unmatched-pattern"
81
82
  },
82
83
  "scripts": {
83
84
  "build": "pnpm run update:rule-options && tsdown",
@@ -86,7 +87,7 @@
86
87
  "format:check": "oxfmt --check",
87
88
  "lint": "eslint",
88
89
  "release": "run-s release:check release:version",
89
- "release:check": "run-s lint typecheck test build",
90
+ "release:check": "run-s format:check lint typecheck test build",
90
91
  "release:version": "bumpp",
91
92
  "test": "vitest",
92
93
  "typecheck": "tsgo --noEmit",