@ntnyq/eslint-config 2.0.0-beta.8 → 2.0.0
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 +2 -1
- package/dist/index.cjs +1561 -0
- package/dist/index.d.cts +132 -0
- package/dist/index.d.ts +90 -37
- package/dist/index.js +887 -449
- package/package.json +57 -48
package/package.json
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ntnyq/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0.0
|
|
5
|
-
"packageManager": "pnpm@8.2.0",
|
|
4
|
+
"version": "2.0.0",
|
|
6
5
|
"description": "ESLint flat config of ntnyq",
|
|
7
6
|
"keywords": [
|
|
8
7
|
"eslint",
|
|
@@ -16,71 +15,81 @@
|
|
|
16
15
|
"email": "ntnyq13@gmail.com"
|
|
17
16
|
},
|
|
18
17
|
"repository": "ntnyq/eslint-config",
|
|
19
|
-
"exports":
|
|
18
|
+
"exports": {
|
|
19
|
+
"./package.json": "./package.json",
|
|
20
|
+
".": {
|
|
21
|
+
"import": {
|
|
22
|
+
"types": "./dist/index.d.ts",
|
|
23
|
+
"default": "./dist/index.js"
|
|
24
|
+
},
|
|
25
|
+
"require": {
|
|
26
|
+
"types": "./dist/index.d.cts",
|
|
27
|
+
"default": "./dist/index.cjs"
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
},
|
|
20
31
|
"main": "./dist/index.js",
|
|
21
32
|
"module": "./dist/index.js",
|
|
22
33
|
"types": "./dist/index.d.ts",
|
|
23
34
|
"files": [
|
|
24
35
|
"dist"
|
|
25
36
|
],
|
|
37
|
+
"scripts": {
|
|
38
|
+
"build": "tsup",
|
|
39
|
+
"clean": "rimraf dist",
|
|
40
|
+
"lint": "eslint .",
|
|
41
|
+
"prepare": "husky",
|
|
42
|
+
"release": "run-s release:check release:version",
|
|
43
|
+
"release:check": "run-s clean build lint typecheck",
|
|
44
|
+
"release:version": "bumpp && npm publish --tag next",
|
|
45
|
+
"typecheck": "tsc --noEmit"
|
|
46
|
+
},
|
|
26
47
|
"publishConfig": {
|
|
27
48
|
"access": "public"
|
|
28
49
|
},
|
|
29
50
|
"peerDependencies": {
|
|
30
|
-
"eslint": "^8.
|
|
51
|
+
"eslint": "^8.57.0"
|
|
31
52
|
},
|
|
32
53
|
"dependencies": {
|
|
33
|
-
"@eslint/js": "^
|
|
34
|
-
"@
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"eslint-config-prettier": "^8.8.0",
|
|
38
|
-
"eslint-define-config": "^1.18.0",
|
|
39
|
-
"eslint-plugin-astro": "^0.26.1",
|
|
54
|
+
"@eslint/js": "^9.1.1",
|
|
55
|
+
"@unocss/eslint-plugin": "^0.59.4",
|
|
56
|
+
"eslint-config-prettier": "^9.1.0",
|
|
57
|
+
"eslint-define-config": "^2.1.0",
|
|
40
58
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
41
|
-
"eslint-plugin-import": "^
|
|
42
|
-
"eslint-plugin-
|
|
43
|
-
"eslint-plugin-
|
|
44
|
-
"eslint-plugin-
|
|
45
|
-
"eslint-plugin-
|
|
46
|
-
"eslint-plugin-
|
|
47
|
-
"eslint-plugin-unicorn": "^
|
|
48
|
-
"eslint-plugin-vue": "^9.
|
|
49
|
-
"eslint-plugin-yml": "^1.
|
|
50
|
-
"globals": "^
|
|
51
|
-
"jsonc-eslint-parser": "^2.
|
|
52
|
-
"local-pkg": "^0.
|
|
53
|
-
"prettier": "^2.
|
|
54
|
-
"
|
|
55
|
-
"
|
|
59
|
+
"eslint-plugin-import-x": "^0.5.0",
|
|
60
|
+
"eslint-plugin-jsdoc": "^48.2.3",
|
|
61
|
+
"eslint-plugin-jsonc": "^2.15.1",
|
|
62
|
+
"eslint-plugin-markdown": "^4.0.1",
|
|
63
|
+
"eslint-plugin-n": "^17.2.1",
|
|
64
|
+
"eslint-plugin-prettier": "^5.1.3",
|
|
65
|
+
"eslint-plugin-unicorn": "^52.0.0",
|
|
66
|
+
"eslint-plugin-vue": "^9.25.0",
|
|
67
|
+
"eslint-plugin-yml": "^1.14.0",
|
|
68
|
+
"globals": "^15.0.0",
|
|
69
|
+
"jsonc-eslint-parser": "^2.4.0",
|
|
70
|
+
"local-pkg": "^0.5.0",
|
|
71
|
+
"prettier": "^3.2.5",
|
|
72
|
+
"typescript-eslint": "^7.7.1",
|
|
73
|
+
"vue-eslint-parser": "^9.4.2",
|
|
74
|
+
"yaml-eslint-parser": "^1.2.2"
|
|
56
75
|
},
|
|
57
76
|
"devDependencies": {
|
|
58
|
-
"@ntnyq/prettier-config": "^1.
|
|
59
|
-
"@types/node": "^
|
|
60
|
-
"bumpp": "^9.
|
|
61
|
-
"eslint": "^
|
|
62
|
-
"husky": "^
|
|
77
|
+
"@ntnyq/prettier-config": "^1.21.2",
|
|
78
|
+
"@types/node": "^20.12.7",
|
|
79
|
+
"bumpp": "^9.4.0",
|
|
80
|
+
"eslint": "^9.1.1",
|
|
81
|
+
"husky": "^9.0.11",
|
|
63
82
|
"nano-staged": "^0.8.0",
|
|
64
|
-
"npm-run-
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"typescript": "5.0.4"
|
|
83
|
+
"npm-run-all2": "^6.1.2",
|
|
84
|
+
"rimraf": "^5.0.5",
|
|
85
|
+
"tsup": "^8.0.2",
|
|
86
|
+
"typescript": "^5.4.5"
|
|
69
87
|
},
|
|
70
88
|
"engines": {
|
|
71
|
-
"node": ">=
|
|
89
|
+
"node": ">=18.18"
|
|
72
90
|
},
|
|
73
91
|
"prettier": "@ntnyq/prettier-config",
|
|
74
92
|
"nano-staged": {
|
|
75
|
-
"*.{js,ts,json,jsonc,md,yaml,yml}": "
|
|
76
|
-
},
|
|
77
|
-
"scripts": {
|
|
78
|
-
"build": "tsup",
|
|
79
|
-
"clean": "rimraf dist",
|
|
80
|
-
"lint": "ESLINT_USE_FLAT_CONFIG=true eslint .",
|
|
81
|
-
"release": "run-s release:check release:version",
|
|
82
|
-
"release:check": "run-s clean build lint typecheck",
|
|
83
|
-
"release:version": "bumpp && pnpm publish --tag next",
|
|
84
|
-
"typecheck": "tsc --noEmit"
|
|
93
|
+
"*.{js,ts,json,jsonc,md,yaml,yml}": "bun run lint --fix"
|
|
85
94
|
}
|
|
86
|
-
}
|
|
95
|
+
}
|