eslint-plugin-oxfmt 0.0.3 → 0.0.4

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
@@ -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.3";
70
+ var version = "0.0.4";
71
71
 
72
72
  //#endregion
73
73
  //#region src/meta.ts
@@ -203,10 +203,10 @@ const oxfmt = {
203
203
  groups: {
204
204
  description: `Custom groups configuration for organizing imports.\nEach array element represents a group, and multiple group names in the same array are treated as one.\nAccepts both string and string[] as group elements.`,
205
205
  type: "array",
206
- items: {
206
+ items: { anyOf: [{ type: "string" }, {
207
207
  type: "array",
208
208
  items: { type: "string" }
209
- }
209
+ }] }
210
210
  },
211
211
  ignoreCase: {
212
212
  description: `Ignore case when sorting. (Default: true)`,
@@ -26,7 +26,7 @@ export type OxfmtOxfmt = []|[{
26
26
 
27
27
  experimentalSortImports?: {
28
28
 
29
- groups?: string[][]
29
+ groups?: (string | string[])[]
30
30
 
31
31
  ignoreCase?: boolean
32
32
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "eslint-plugin-oxfmt",
3
3
  "type": "module",
4
- "version": "0.0.3",
4
+ "version": "0.0.4",
5
5
  "description": "An ESLint plugin for formatting code with oxfmt.",
6
6
  "keywords": [
7
7
  "eslint",
@@ -52,7 +52,7 @@
52
52
  "synckit": "^0.11.11"
53
53
  },
54
54
  "devDependencies": {
55
- "@ntnyq/eslint-config": "^5.8.0",
55
+ "@ntnyq/eslint-config": "^5.9.0",
56
56
  "@ntnyq/prettier-config": "^3.0.1",
57
57
  "@types/node": "^25.0.3",
58
58
  "@typescript/native-preview": "7.0.0-dev.20251204.1",
@@ -67,7 +67,7 @@
67
67
  "prettier": "^3.7.4",
68
68
  "show-invisibles": "^0.0.2",
69
69
  "tinyglobby": "^0.2.15",
70
- "tsdown": "^0.18.4",
70
+ "tsdown": "^0.19.0-beta.2",
71
71
  "tsx": "^4.21.0",
72
72
  "typescript": "^5.9.3",
73
73
  "vitest": "^4.0.16"