@ntnyq/eslint-config 3.12.3 → 4.0.0-beta.2

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,8 +1,8 @@
1
1
  {
2
2
  "name": "@ntnyq/eslint-config",
3
3
  "type": "module",
4
- "version": "3.12.3",
5
- "packageManager": "pnpm@9.15.4",
4
+ "version": "4.0.0-beta.2",
5
+ "packageManager": "pnpm@9.15.5",
6
6
  "description": "An opinionated ESLint config preset of ntnyq",
7
7
  "keywords": [
8
8
  "eslint",
@@ -15,18 +15,16 @@
15
15
  "name": "ntnyq",
16
16
  "email": "ntnyq13@gmail.com"
17
17
  },
18
+ "homepage": "https://eslint-config.ntnyq.com",
18
19
  "repository": "ntnyq/eslint-config",
20
+ "bugs": {
21
+ "url": "https://github.com/ntnyq/eslint-config/issues"
22
+ },
19
23
  "exports": {
20
24
  "./package.json": "./package.json",
21
25
  ".": {
22
- "import": {
23
- "types": "./dist/index.d.ts",
24
- "default": "./dist/index.js"
25
- },
26
- "require": {
27
- "types": "./dist/index.d.cts",
28
- "default": "./dist/index.cjs"
29
- }
26
+ "types": "./dist/index.d.ts",
27
+ "default": "./dist/index.js"
30
28
  }
31
29
  },
32
30
  "main": "./dist/index.js",
@@ -39,62 +37,57 @@
39
37
  "access": "public"
40
38
  },
41
39
  "scripts": {
42
- "build": "pnpm run generate:type && tsup",
40
+ "build": "run-s generate:type build:lib",
41
+ "build:inspector": "pnpm dlx @eslint/config-inspector build",
42
+ "build:lib": "tsup",
43
43
  "dev": "tsup --watch src",
44
44
  "docs:build": "pnpm -C docs run build",
45
45
  "docs:dev": "pnpm -C docs run dev",
46
- "generate:site": "tsx scripts/generateSite.ts",
46
+ "generate:site": "run-s generate:type build:lib build:inspector",
47
47
  "generate:type": "tsx scripts/generateType.ts",
48
48
  "lint": "eslint .",
49
49
  "prepare": "husky",
50
50
  "release": "run-s release:check release:version",
51
51
  "release:check": "run-s build lint typecheck",
52
- "release:version": "bumpp && npm publish",
52
+ "release:version": "bumpp && npm publish --tag next",
53
53
  "test": "vitest",
54
54
  "typecheck": "tsc --noEmit"
55
55
  },
56
56
  "peerDependencies": {
57
- "@stylistic/eslint-plugin": "^2.12.1",
58
57
  "eslint": "^9.5.0",
59
- "eslint-plugin-es-x": "^8.4.1",
60
58
  "eslint-plugin-eslint-plugin": "^6.4.0"
61
59
  },
62
60
  "peerDependenciesMeta": {
63
- "@stylistic/eslint-plugin": {
64
- "optional": true
65
- },
66
- "eslint-plugin-es-x": {
67
- "optional": true
68
- },
69
61
  "eslint-plugin-eslint-plugin": {
70
62
  "optional": true
71
63
  }
72
64
  },
73
65
  "dependencies": {
74
66
  "@antfu/install-pkg": "^1.0.0",
75
- "@clack/prompts": "^0.9.1",
67
+ "@clack/prompts": "^0.10.0",
76
68
  "@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
77
- "@eslint/js": "^9.18.0",
78
- "@eslint/markdown": "^6.2.1",
79
- "@unocss/eslint-plugin": "^65.4.0",
80
- "@vitest/eslint-plugin": "^1.1.25",
81
- "eslint-config-flat-gitignore": "^1.0.0",
82
- "eslint-flat-config-utils": "^1.0.0",
69
+ "@eslint/js": "^9.19.0",
70
+ "@eslint/markdown": "^6.2.2",
71
+ "@unocss/eslint-plugin": "^65.4.3",
72
+ "@vitest/eslint-plugin": "^1.1.26",
73
+ "eslint-config-flat-gitignore": "^2.0.0",
74
+ "eslint-flat-config-utils": "^2.0.1",
83
75
  "eslint-import-resolver-typescript": "^3.7.0",
84
76
  "eslint-merge-processors": "^1.0.0",
85
- "eslint-plugin-antfu": "^2.7.0",
86
- "eslint-plugin-command": "^2.1.0",
77
+ "eslint-plugin-antfu": "^3.0.0",
78
+ "eslint-plugin-command": "^3.0.0",
87
79
  "eslint-plugin-depend": "^0.12.0",
88
80
  "eslint-plugin-format": "^1.0.1",
89
81
  "eslint-plugin-github-action": "^0.0.13",
90
82
  "eslint-plugin-import-x": "^4.6.1",
91
- "eslint-plugin-jsdoc": "^50.6.1",
92
- "eslint-plugin-jsonc": "^2.18.2",
83
+ "eslint-plugin-jsdoc": "^50.6.3",
84
+ "eslint-plugin-jsonc": "^2.19.1",
93
85
  "eslint-plugin-n": "^17.15.1",
86
+ "eslint-plugin-no-only-tests": "^3.3.0",
94
87
  "eslint-plugin-ntnyq": "^0.9.2",
95
- "eslint-plugin-perfectionist": "^4.6.0",
88
+ "eslint-plugin-perfectionist": "^4.8.0",
96
89
  "eslint-plugin-pinia": "^0.4.1",
97
- "eslint-plugin-prettier": "^5.2.1",
90
+ "eslint-plugin-prettier": "^5.2.3",
98
91
  "eslint-plugin-regexp": "^2.7.0",
99
92
  "eslint-plugin-svgo": "^0.4.0",
100
93
  "eslint-plugin-toml": "^0.12.0",
@@ -108,36 +101,30 @@
108
101
  "local-pkg": "^1.0.0",
109
102
  "prettier": "^3.4.2",
110
103
  "toml-eslint-parser": "^0.10.0",
111
- "typescript-eslint": "^8.20.0",
104
+ "typescript-eslint": "^8.23.0",
112
105
  "vue-eslint-parser": "^9.4.3",
113
106
  "yaml-eslint-parser": "^1.2.3"
114
107
  },
115
108
  "devDependencies": {
116
109
  "@ntnyq/prettier-config": "^1.22.1",
117
- "@types/node": "^22.10.6",
118
- "bumpp": "^9.10.0",
119
- "eslint": "^9.18.0",
110
+ "@types/node": "^22.13.1",
111
+ "bumpp": "^10.0.2",
112
+ "eslint": "^9.19.0",
120
113
  "eslint-typegen": "^1.0.0",
121
114
  "husky": "^9.1.7",
122
115
  "jiti": "^2.4.2",
123
116
  "nano-staged": "^0.8.0",
124
117
  "npm-run-all2": "^7.0.2",
125
- "tsup": "^8.3.5",
118
+ "tsup": "^8.3.6",
126
119
  "tsx": "^4.19.2",
127
120
  "typescript": "^5.7.3",
128
- "vitest": "^3.0.0-beta.4",
129
- "zx": "^8.3.0"
121
+ "vitest": "^3.0.5"
130
122
  },
131
123
  "engines": {
132
124
  "node": ">=18.18.0"
133
125
  },
134
- "pnpm": {
135
- "patchedDependencies": {
136
- "@vitest/eslint-plugin": "patches/@vitest__eslint-plugin.patch"
137
- }
138
- },
139
126
  "nano-staged": {
140
127
  "*.{js,ts,mjs,cjs,vue,svg,json,jsonc,md,yaml,yml}": "eslint --fix",
141
- "*.css": "prettier --write"
128
+ "*.{css,scss,html}": "prettier -uw"
142
129
  }
143
130
  }