@coderwyd/eslint-config 1.1.1 → 2.0.1

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,9 @@
1
1
  {
2
2
  "name": "@coderwyd/eslint-config",
3
3
  "type": "module",
4
- "version": "1.1.1",
5
- "packageManager": "pnpm@8.11.0",
4
+ "version": "2.0.1",
5
+ "packageManager": "pnpm@8.13.1",
6
+ "description": "Donny's ESLint config",
6
7
  "author": "Donny Wang <donny526@outlook.com> (https://github.com/coderwyd/)",
7
8
  "license": "MIT",
8
9
  "homepage": "https://github.com/coderwyd/eslint-config",
@@ -11,6 +12,7 @@
11
12
  ],
12
13
  "exports": {
13
14
  ".": {
15
+ "types": "./dist/index.d.ts",
14
16
  "import": "./dist/index.js",
15
17
  "require": "./dist/index.cjs"
16
18
  }
@@ -51,64 +53,63 @@
51
53
  }
52
54
  },
53
55
  "dependencies": {
54
- "@antfu/eslint-define-config": "^1.23.0-2",
55
- "@antfu/install-pkg": "^0.2.0",
56
- "@eslint-types/jsdoc": "46.8.2-1",
57
- "@eslint-types/typescript-eslint": "^6.12.0",
58
- "@eslint-types/unicorn": "^49.0.0",
59
- "@stylistic/eslint-plugin": "^1.4.0",
60
- "@typescript-eslint/eslint-plugin": "^6.12.0",
61
- "@typescript-eslint/parser": "^6.12.0",
62
- "eslint-config-flat-gitignore": "^0.1.1",
63
- "eslint-plugin-antfu": "^1.0.10",
56
+ "@antfu/eslint-define-config": "1.23.0-2",
57
+ "@antfu/install-pkg": "^0.3.1",
58
+ "@eslint-types/jsdoc": "46.9.1",
59
+ "@eslint-types/typescript-eslint": "^6.16.0",
60
+ "@eslint-types/unicorn": "^50.0.1",
61
+ "@toml-tools/parser": "^1.0.0",
62
+ "@typescript-eslint/eslint-plugin": "^6.16.0",
63
+ "@typescript-eslint/parser": "^6.16.0",
64
+ "eslint-config-flat-gitignore": "^0.1.2",
65
+ "eslint-config-prettier": "^9.1.0",
66
+ "eslint-plugin-antfu": "^2.1.1",
64
67
  "eslint-plugin-eslint-comments": "^3.2.0",
65
- "eslint-plugin-i": "^2.29.0",
66
- "eslint-plugin-jsdoc": "^46.9.0",
67
- "eslint-plugin-jsonc": "^2.10.0",
68
- "eslint-plugin-markdown": "^3.0.1",
69
- "eslint-plugin-n": "^16.3.1",
68
+ "eslint-plugin-i": "^2.29.1",
69
+ "eslint-plugin-jsdoc": "^46.9.1",
70
+ "eslint-plugin-jsonc": "^2.11.2",
71
+ "eslint-plugin-n": "^16.6.0",
70
72
  "eslint-plugin-no-only-tests": "^3.1.0",
71
- "eslint-plugin-perfectionist": "^2.4.0",
72
- "eslint-plugin-unicorn": "^49.0.0",
73
+ "eslint-plugin-perfectionist": "^2.5.0",
74
+ "eslint-plugin-prettier": "^5.1.2",
75
+ "eslint-plugin-unicorn": "^50.0.1",
73
76
  "eslint-plugin-unused-imports": "^3.0.0",
74
- "eslint-plugin-vitest": "^0.3.10",
75
- "eslint-plugin-vue": "^9.18.1",
76
- "eslint-plugin-yml": "^1.10.0",
77
- "globals": "^13.23.0",
77
+ "eslint-plugin-vitest": "^0.3.20",
78
+ "eslint-plugin-vue": "^9.19.2",
79
+ "globals": "^13.24.0",
78
80
  "jsonc-eslint-parser": "^2.4.0",
79
81
  "local-pkg": "^0.5.0",
80
82
  "parse-gitignore": "^2.0.0",
81
83
  "picocolors": "^1.0.0",
84
+ "prettier": "^3.1.1",
85
+ "prettier-plugin-toml": "^2.0.1",
82
86
  "prompts": "^2.4.2",
83
87
  "vue-eslint-parser": "^9.3.2",
84
- "yaml-eslint-parser": "^1.2.2",
85
88
  "yargs": "^17.7.2"
86
89
  },
87
90
  "devDependencies": {
88
- "@antfu/ni": "^0.21.10",
89
- "@stylistic/eslint-plugin-migrate": "^1.4.0",
90
- "@types/eslint": "^8.44.7",
91
+ "@antfu/ni": "^0.21.12",
92
+ "@types/eslint": "^8.56.0",
91
93
  "@types/fs-extra": "^11.0.4",
92
- "@types/node": "^20.9.4",
94
+ "@types/node": "^20.10.5",
93
95
  "@types/prompts": "^2.4.9",
94
96
  "@types/yargs": "^17.0.32",
95
- "@unocss/eslint-plugin": "^0.57.7",
96
- "bumpp": "^9.2.0",
97
- "eslint": "^8.54.0",
98
- "eslint-flat-config-viewer": "^0.1.3",
97
+ "@unocss/eslint-plugin": "^0.58.2",
98
+ "bumpp": "^9.2.1",
99
+ "eslint": "^8.56.0",
100
+ "eslint-flat-config-viewer": "^0.1.4",
99
101
  "eslint-plugin-react": "^7.33.2",
100
102
  "eslint-plugin-react-hooks": "^4.6.0",
101
- "eslint-plugin-react-refresh": "^0.4.4",
103
+ "eslint-plugin-react-refresh": "^0.4.5",
102
104
  "esno": "^4.0.0",
103
105
  "execa": "^8.0.1",
104
106
  "fast-glob": "^3.3.2",
105
- "fs-extra": "^11.1.1",
106
- "lint-staged": "^15.1.0",
107
+ "fs-extra": "^11.2.0",
108
+ "lint-staged": "^15.2.0",
107
109
  "rimraf": "^5.0.5",
108
110
  "simple-git-hooks": "^2.9.0",
109
111
  "tsup": "^8.0.1",
110
- "typescript": "^5.3.2",
111
- "vitest": "^0.34.6"
112
+ "typescript": "^5.3.3"
112
113
  },
113
114
  "simple-git-hooks": {
114
115
  "pre-commit": "pnpx nano-staged"
@@ -117,12 +118,10 @@
117
118
  "*": "eslint --fix"
118
119
  },
119
120
  "scripts": {
120
- "build": "tsup --format esm,cjs --clean --dts",
121
- "stub": "tsup --format esm",
121
+ "build": "tsup",
122
122
  "dev": "tsup --format esm,cjs --watch & eslint-flat-config-viewer",
123
- "lint": "pnpm run stub && eslint .",
123
+ "lint": "eslint .",
124
124
  "release": "bumpp && pnpm publish",
125
- "test": "vitest",
126
125
  "typecheck": "tsc --noEmit"
127
126
  }
128
127
  }