@ntnyq/eslint-config 5.0.0-beta.1 → 5.0.0-beta.3

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ntnyq/eslint-config",
3
3
  "type": "module",
4
- "version": "5.0.0-beta.1",
4
+ "version": "5.0.0-beta.3",
5
5
  "description": "An opinionated ESLint config preset of ntnyq",
6
6
  "keywords": [
7
7
  "eslint",
@@ -22,13 +22,12 @@
22
22
  "exports": {
23
23
  "./package.json": "./package.json",
24
24
  ".": {
25
- "types": "./dist/index.d.mts",
26
- "default": "./dist/index.mjs"
25
+ "types": "./dist/index.d.ts",
26
+ "default": "./dist/index.js"
27
27
  }
28
28
  },
29
- "main": "./dist/index.mjs",
30
- "module": "./dist/index.mjs",
31
- "types": "./dist/index.d.mts",
29
+ "main": "./dist/index.js",
30
+ "types": "./dist/index.d.ts",
32
31
  "files": [
33
32
  "dist"
34
33
  ],
@@ -37,48 +36,80 @@
37
36
  "tag": "next"
38
37
  },
39
38
  "peerDependencies": {
39
+ "@html-eslint/eslint-plugin": "^0.40.3",
40
+ "@html-eslint/parser": "^0.40.0",
41
+ "astro-eslint-parser": "^1.2.2",
40
42
  "eslint": "^9.20.0",
43
+ "eslint-plugin-astro": "^1.3.1",
41
44
  "eslint-plugin-eslint-plugin": "^6.4.0",
42
45
  "eslint-plugin-format": "^1.0.1",
43
- "eslint-plugin-unused-imports": "^4.1.4"
46
+ "eslint-plugin-pnpm": "^0.3.1",
47
+ "eslint-plugin-svelte": "^3.8.1",
48
+ "eslint-plugin-unused-imports": "^4.1.4",
49
+ "svelte": "^5.31.1",
50
+ "svelte-eslint-parser": "^1.2.0"
44
51
  },
45
52
  "peerDependenciesMeta": {
53
+ "@html-eslint/eslint-plugin": {
54
+ "optional": true
55
+ },
56
+ "@html-eslint/parser": {
57
+ "optional": true
58
+ },
59
+ "astro-eslint-parser": {
60
+ "optional": true
61
+ },
62
+ "eslint-plugin-astro": {
63
+ "optional": true
64
+ },
46
65
  "eslint-plugin-eslint-plugin": {
47
66
  "optional": true
48
67
  },
49
68
  "eslint-plugin-format": {
50
69
  "optional": true
51
70
  },
71
+ "eslint-plugin-pnpm": {
72
+ "optional": true
73
+ },
74
+ "eslint-plugin-svelte": {
75
+ "optional": true
76
+ },
52
77
  "eslint-plugin-unused-imports": {
53
78
  "optional": true
79
+ },
80
+ "svelte": {
81
+ "optional": true
82
+ },
83
+ "svelte-eslint-parser": {
84
+ "optional": true
54
85
  }
55
86
  },
56
87
  "dependencies": {
57
88
  "@antfu/install-pkg": "^1.1.0",
58
89
  "@clack/prompts": "^0.10.1",
59
90
  "@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
60
- "@eslint/js": "^9.26.0",
91
+ "@eslint/js": "^9.27.0",
61
92
  "@eslint/markdown": "^6.4.0",
62
- "@unocss/eslint-plugin": "^66.1.1",
63
- "@vitest/eslint-plugin": "^1.1.44",
93
+ "@unocss/eslint-plugin": "^66.1.2",
94
+ "@vitest/eslint-plugin": "^1.2.0",
64
95
  "eslint-config-flat-gitignore": "^2.1.0",
65
96
  "eslint-flat-config-utils": "^2.0.1",
66
- "eslint-import-resolver-typescript": "^4.3.4",
97
+ "eslint-import-resolver-typescript": "^4.3.5",
67
98
  "eslint-merge-processors": "^2.0.0",
99
+ "eslint-parser-plain": "^0.1.1",
68
100
  "eslint-plugin-antfu": "^3.1.1",
69
101
  "eslint-plugin-command": "^3.2.0",
70
102
  "eslint-plugin-de-morgan": "^1.2.1",
71
103
  "eslint-plugin-depend": "^1.2.0",
72
104
  "eslint-plugin-github-action": "^0.0.16",
73
- "eslint-plugin-import-x": "^4.11.1",
74
- "eslint-plugin-jsdoc": "^50.6.14",
75
- "eslint-plugin-jsonc": "^2.20.0",
105
+ "eslint-plugin-import-x": "^4.12.2",
106
+ "eslint-plugin-jsdoc": "^50.6.17",
107
+ "eslint-plugin-jsonc": "^2.20.1",
76
108
  "eslint-plugin-n": "^17.18.0",
77
109
  "eslint-plugin-no-only-tests": "^3.3.0",
78
110
  "eslint-plugin-ntnyq": "^0.11.0",
79
- "eslint-plugin-perfectionist": "^4.12.3",
111
+ "eslint-plugin-perfectionist": "^4.13.0",
80
112
  "eslint-plugin-pinia": "^0.4.1",
81
- "eslint-plugin-pnpm": "^0.3.1",
82
113
  "eslint-plugin-prettier": "^5.4.0",
83
114
  "eslint-plugin-regexp": "^2.7.0",
84
115
  "eslint-plugin-svgo": "^0.8.0",
@@ -97,23 +128,22 @@
97
128
  "yaml-eslint-parser": "^1.3.0"
98
129
  },
99
130
  "devDependencies": {
100
- "@ntnyq/prettier-config": "^2.0.0",
101
- "@types/node": "^22.15.17",
102
- "bumpp": "^10.1.0",
103
- "eslint": "^9.26.0",
104
- "eslint-parser-plain": "^0.1.1",
131
+ "@ntnyq/prettier-config": "^2.1.0",
132
+ "@types/node": "^22.15.19",
133
+ "bumpp": "^10.1.1",
134
+ "eslint": "^9.27.0",
105
135
  "eslint-plugin-eslint-plugin": "^6.4.0",
106
136
  "eslint-typegen": "^2.2.0",
107
137
  "husky": "^9.1.7",
108
138
  "jiti": "^2.4.2",
109
139
  "nano-staged": "^0.8.0",
110
- "npm-run-all2": "^8.0.1",
140
+ "npm-run-all2": "^8.0.2",
111
141
  "tinyglobby": "^0.2.13",
142
+ "tsdown": "^0.11.12",
112
143
  "tsx": "^4.19.4",
113
144
  "typescript": "^5.8.3",
114
- "unbuild": "^3.5.0",
115
145
  "uncase": "^0.1.0",
116
- "vitest": "^3.1.3"
146
+ "vitest": "^3.1.4"
117
147
  },
118
148
  "engines": {
119
149
  "node": ">=20.11.0"
@@ -123,14 +153,14 @@
123
153
  "*.{css,scss,html}": "prettier -uw"
124
154
  },
125
155
  "scripts": {
126
- "build": "run-s generate:type build:lib",
156
+ "build": "run-s generate:types build:lib",
127
157
  "build:inspector": "pnpm dlx @eslint/config-inspector build --config eslint-inspector.config.ts",
128
- "build:lib": "unbuild",
129
- "dev": "unbuild --watch",
158
+ "build:lib": "tsdown",
159
+ "dev": "tsdown --watch",
130
160
  "docs:build": "pnpm -C docs run build",
131
161
  "docs:dev": "pnpm -C docs run dev",
132
- "generate:site": "run-s generate:type build:lib build:inspector",
133
- "generate:type": "tsx scripts/generateType.ts",
162
+ "generate:site": "run-s generate:types build:lib build:inspector",
163
+ "generate:types": "tsx scripts/generateType.ts",
134
164
  "lint": "eslint --cache",
135
165
  "release": "run-s release:check release:version release:publish",
136
166
  "release:check": "run-s build lint test typecheck",