|
2 | 2 | "name": "@coderwyd/eslint-config",
|
3 | 3 | "type": "module",
|
4 | 4 | "version": "1.1.1",
|
5 |
| - "packageManager": "pnpm@8.11.0", |
| 5 | + "packageManager": "pnpm@8.13.1", |
6 | 6 | "description": "Donny's ESLint config",
|
7 | 7 | "author": "Donny Wang <[email protected]> (https://github.com/coderwyd/)",
|
8 | 8 | "license": "MIT",
|
|
12 | 12 | ],
|
13 | 13 | "exports": {
|
14 | 14 | ".": {
|
| 15 | + "types": "./dist/index.d.ts", |
15 | 16 | "import": "./dist/index.js",
|
16 | 17 | "require": "./dist/index.cjs"
|
17 | 18 | }
|
|
31 | 32 | "node": ">=16.14.0"
|
32 | 33 | },
|
33 | 34 | "scripts": {
|
34 |
| - "build": "tsup --format esm,cjs --clean --dts", |
35 |
| - "stub": "tsup --format esm", |
| 35 | + "build": "tsup", |
36 | 36 | "dev": "tsup --format esm,cjs --watch & eslint-flat-config-viewer",
|
37 |
| - "lint": "pnpm run stub && eslint .", |
| 37 | + "lint": "eslint .", |
38 | 38 | "prepack": "nr build",
|
39 | 39 | "release": "bumpp && pnpm publish",
|
40 |
| - "test": "vitest", |
41 | 40 | "typecheck": "tsc --noEmit",
|
42 |
| - "prepare": "simple-git-hooks" |
| 41 | + "prepare": "simple-git-hooks", |
| 42 | + "up": "taze major -r -I" |
43 | 43 | },
|
44 | 44 | "peerDependencies": {
|
45 | 45 | "@unocss/eslint-plugin": ">=0.50.0",
|
|
60 | 60 | },
|
61 | 61 | "eslint-plugin-react-refresh": {
|
62 | 62 | "optional": true
|
| 63 | + }, |
| 64 | + "eslint-plugin-svelte": { |
| 65 | + "optional": true |
| 66 | + }, |
| 67 | + "svelte-eslint-parser": { |
| 68 | + "optional": true |
63 | 69 | }
|
64 | 70 | },
|
65 | 71 | "dependencies": {
|
66 |
| - "@antfu/eslint-define-config": "^1.23.0-2", |
| 72 | + "@antfu/eslint-define-config": "1.23.0-2", |
67 | 73 | "@antfu/install-pkg": "^0.3.1",
|
68 | 74 | "@eslint-types/jsdoc": "46.9.0",
|
69 |
| - "@eslint-types/typescript-eslint": "^6.12.0", |
70 |
| - "@eslint-types/unicorn": "^49.0.0", |
| 75 | + "@eslint-types/typescript-eslint": "^6.16.0", |
| 76 | + "@eslint-types/unicorn": "^50.0.1", |
71 | 77 | "@stylistic/eslint-plugin": "^1.5.1",
|
72 |
| - "@typescript-eslint/eslint-plugin": "^6.12.0", |
73 |
| - "@typescript-eslint/parser": "^6.12.0", |
| 78 | + "@toml-tools/parser": "^1.0.0", |
| 79 | + "@typescript-eslint/eslint-plugin": "^6.16.0", |
| 80 | + "@typescript-eslint/parser": "^6.16.0", |
74 | 81 | "eslint-config-flat-gitignore": "^0.1.2",
|
75 |
| - "eslint-plugin-antfu": "^1.0.13", |
| 82 | + "eslint-config-prettier": "^9.1.0", |
| 83 | + "eslint-plugin-antfu": "^2.1.1", |
76 | 84 | "eslint-plugin-eslint-comments": "^3.2.0",
|
77 | 85 | "eslint-plugin-i": "^2.29.1",
|
78 | 86 | "eslint-plugin-jsdoc": "^46.9.1",
|
79 | 87 | "eslint-plugin-jsonc": "^2.11.2",
|
80 |
| - "eslint-plugin-markdown": "^3.0.1", |
81 | 88 | "eslint-plugin-n": "^16.5.0",
|
82 | 89 | "eslint-plugin-no-only-tests": "^3.1.0",
|
83 | 90 | "eslint-plugin-perfectionist": "^2.5.0",
|
| 91 | + "eslint-plugin-prettier": "^5.1.2", |
84 | 92 | "eslint-plugin-unicorn": "^50.0.1",
|
85 | 93 | "eslint-plugin-unused-imports": "^3.0.0",
|
86 | 94 | "eslint-plugin-vitest": "^0.3.20",
|
87 | 95 | "eslint-plugin-vue": "^9.19.2",
|
88 |
| - "eslint-plugin-yml": "^1.11.0", |
89 |
| - "globals": "^13.23.0", |
| 96 | + "globals": "^13.24.0", |
90 | 97 | "jsonc-eslint-parser": "^2.4.0",
|
91 | 98 | "local-pkg": "^0.5.0",
|
92 | 99 | "parse-gitignore": "^2.0.0",
|
93 | 100 | "picocolors": "^1.0.0",
|
| 101 | + "prettier-plugin-toml": "^2.0.1", |
94 | 102 | "prompts": "^2.4.2",
|
95 | 103 | "vue-eslint-parser": "^9.3.2",
|
96 |
| - "yaml-eslint-parser": "^1.2.2", |
97 | 104 | "yargs": "^17.7.2"
|
98 | 105 | },
|
99 | 106 | "devDependencies": {
|
100 | 107 | "@antfu/ni": "^0.21.12",
|
101 |
| - "@stylistic/eslint-plugin-migrate": "^1.5.1", |
102 |
| - "@types/eslint": "^8.44.9", |
| 108 | + "@types/eslint": "^8.56.0", |
103 | 109 | "@types/fs-extra": "^11.0.4",
|
104 | 110 | "@types/node": "^20.10.5",
|
105 | 111 | "@types/prompts": "^2.4.9",
|
106 | 112 | "@types/yargs": "^17.0.32",
|
107 |
| - "@unocss/eslint-plugin": "^0.58.0", |
| 113 | + "@unocss/eslint-plugin": "^0.58.2", |
108 | 114 | "bumpp": "^9.2.1",
|
109 | 115 | "eslint": "^8.56.0",
|
110 |
| - "eslint-flat-config-viewer": "^0.1.3", |
| 116 | + "eslint-flat-config-viewer": "^0.1.4", |
111 | 117 | "eslint-plugin-react": "^7.33.2",
|
112 | 118 | "eslint-plugin-react-hooks": "^4.6.0",
|
113 | 119 | "eslint-plugin-react-refresh": "^0.4.5",
|
114 | 120 | "esno": "^4.0.0",
|
115 | 121 | "execa": "^8.0.1",
|
116 | 122 | "fast-glob": "^3.3.2",
|
117 | 123 | "fs-extra": "^11.2.0",
|
118 |
| - "lint-staged": "^15.1.0", |
| 124 | + "lint-staged": "^15.2.0", |
119 | 125 | "rimraf": "^5.0.5",
|
120 | 126 | "simple-git-hooks": "^2.9.0",
|
| 127 | + "taze": "^0.13.1", |
121 | 128 | "tsup": "^8.0.1",
|
122 |
| - "typescript": "^5.3.3", |
123 |
| - "vitest": "^1.1.0" |
| 129 | + "typescript": "^5.3.3" |
124 | 130 | },
|
125 | 131 | "simple-git-hooks": {
|
126 | 132 | "pre-commit": "pnpx nano-staged"
|
|
0 commit comments