@cuiqg/eslint-config 2.1.27 → 2.1.28

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/dist/index.cjs CHANGED
@@ -200,7 +200,7 @@ var import_local_pkg = require("local-pkg");
200
200
  var isInEditor = !!((import_node_process.default.env.VSCODE_PID || import_node_process.default.env.VSCODE_CWD || import_node_process.default.env.JETBRAINS_IDE || import_node_process.default.env.VIM) && !import_node_process.default.env.CI);
201
201
  var hasVue = (0, import_local_pkg.isPackageExists)("vue") || (0, import_local_pkg.isPackageExists)("nuxt") || (0, import_local_pkg.isPackageExists)("vitepress") || (0, import_local_pkg.isPackageExists)("@slidev/cli");
202
202
  var hasUnocss = (0, import_local_pkg.isPackageExists)("unocss") || (0, import_local_pkg.isPackageExists)("@unocss/webpack") || (0, import_local_pkg.isPackageExists)("@unocss/nuxt");
203
- var hasTailwindcss = (0, import_local_pkg.isPackageExists)("tailwindcss");
203
+ var hasTailwindcss = (0, import_local_pkg.isPackageExists)("tailwindcss") || (0, import_local_pkg.isPackageExists)("@tailwindcss/postcss");
204
204
 
205
205
  // src/configs/javascript.js
206
206
  async function javascript() {
package/dist/index.js CHANGED
@@ -119,7 +119,7 @@ import { isPackageExists } from "local-pkg";
119
119
  var isInEditor = !!((process.env.VSCODE_PID || process.env.VSCODE_CWD || process.env.JETBRAINS_IDE || process.env.VIM) && !process.env.CI);
120
120
  var hasVue = isPackageExists("vue") || isPackageExists("nuxt") || isPackageExists("vitepress") || isPackageExists("@slidev/cli");
121
121
  var hasUnocss = isPackageExists("unocss") || isPackageExists("@unocss/webpack") || isPackageExists("@unocss/nuxt");
122
- var hasTailwindcss = isPackageExists("tailwindcss");
122
+ var hasTailwindcss = isPackageExists("tailwindcss") || isPackageExists("@tailwindcss/postcss");
123
123
 
124
124
  // src/configs/javascript.js
125
125
  async function javascript() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cuiqg/eslint-config",
3
- "version": "2.1.27",
3
+ "version": "2.1.28",
4
4
  "description": "ESLint config preset for @cuiqg",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",
@@ -34,35 +34,35 @@
34
34
  "prepare": "simple-git-hooks"
35
35
  },
36
36
  "dependencies": {
37
- "@stylistic/eslint-plugin": "^2.9.0",
38
- "@unocss/eslint-plugin": "^66.0.0",
39
- "eslint-config-flat-gitignore": "^0.3.0",
40
- "eslint-flat-config-utils": "^0.4.0",
37
+ "@stylistic/eslint-plugin": "^4.2.0",
38
+ "@unocss/eslint-plugin": "^66.1.2",
39
+ "eslint-config-flat-gitignore": "^2.1.0",
40
+ "eslint-flat-config-utils": "^2.1.0",
41
41
  "eslint-plugin-eslint-comments": "^3.2.0",
42
- "eslint-plugin-import-x": "^4.3.1",
43
- "eslint-plugin-jsdoc": "^50.4.3",
44
- "eslint-plugin-jsonc": "^2.16.0",
45
- "eslint-plugin-n": "^17.11.1",
46
- "eslint-plugin-prettier": "^5.2.1",
42
+ "eslint-plugin-import-x": "^4.12.2",
43
+ "eslint-plugin-jsdoc": "^50.6.17",
44
+ "eslint-plugin-jsonc": "^2.20.1",
45
+ "eslint-plugin-n": "^17.18.0",
46
+ "eslint-plugin-prettier": "^5.4.0",
47
47
  "eslint-plugin-tailwindcss": "^3.18.0",
48
48
  "eslint-plugin-toml": "^0.12.0",
49
- "eslint-plugin-unicorn": "^56.0.0",
50
- "eslint-plugin-vue": "^9.29.1",
51
- "eslint-plugin-yml": "^1.14.0",
52
- "globals": "^15.11.0",
49
+ "eslint-plugin-unicorn": "^59.0.1",
50
+ "eslint-plugin-vue": "^10.1.0",
51
+ "eslint-plugin-yml": "^1.18.0",
52
+ "globals": "^16.1.0",
53
53
  "jsonc-eslint-parser": "^2.4.0",
54
- "local-pkg": "^0.5.0",
54
+ "local-pkg": "^1.1.1",
55
55
  "toml-eslint-parser": "^0.10.0",
56
- "unconfig": "^0.6.0",
57
- "vue-eslint-parser": "^9.4.3",
58
- "yaml-eslint-parser": "^1.2.3"
56
+ "unconfig": "^7.3.2",
57
+ "vue-eslint-parser": "^10.1.3",
58
+ "yaml-eslint-parser": "^1.3.0"
59
59
  },
60
60
  "devDependencies": {
61
- "bumpp": "^9.7.1",
62
- "eslint": "^9.13.0",
63
- "lint-staged": "^15.2.10",
64
- "simple-git-hooks": "^2.11.1",
65
- "tsup": "^8.3.0"
61
+ "bumpp": "^10.1.1",
62
+ "eslint": "^9.27.0",
63
+ "lint-staged": "^16.0.0",
64
+ "simple-git-hooks": "^2.13.0",
65
+ "tsup": "^8.5.0"
66
66
  },
67
67
  "lint-staged": {
68
68
  "*": "eslint --fix"