@ithinkdt/lint 4.2.1 → 4.2.3

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.
Files changed (2) hide show
  1. package/package.json +18 -15
  2. package/src/base.js +2 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ithinkdt/lint",
3
- "version": "4.2.1",
3
+ "version": "4.2.3",
4
4
  "type": "module",
5
5
  "description": "iThinkDT 项目的 ESLint、StyleLint 配置",
6
6
  "keywords": [
@@ -37,10 +37,10 @@
37
37
  "@eslint/json": ">=2.0.1",
38
38
  "@eslint/markdown": "^8.0.3",
39
39
  "@stylistic/eslint-plugin": "^5.10.0",
40
- "@typescript-eslint/parser": "^8.64.0",
41
- "@unocss/eslint-config": "^66.7.5",
42
- "@vitest/eslint-plugin": "^1.6.23",
43
- "@vue/compiler-sfc": "^3.5.40",
40
+ "@typescript-eslint/parser": "^8.68.0",
41
+ "@unocss/eslint-config": "^66.8.1",
42
+ "@vitest/eslint-plugin": "^1.6.27",
43
+ "@vue/compiler-sfc": "^3.5.42",
44
44
  "eslint-flat-config-utils": "^3.2.0",
45
45
  "eslint-import-resolver-custom-alias": "^1.3.2",
46
46
  "eslint-import-resolver-typescript": "^4.4.5",
@@ -48,19 +48,22 @@
48
48
  "eslint-plugin-format": "^2.0.1",
49
49
  "eslint-plugin-import": "npm:eslint-plugin-import-x@^4.17.1",
50
50
  "eslint-plugin-no-only-tests": "^3.4.0",
51
- "eslint-plugin-playwright": "^2.10.5",
51
+ "eslint-plugin-playwright": "^2.11.0",
52
52
  "eslint-plugin-tsdoc": ">=0.5.2",
53
- "eslint-plugin-unicorn": "^72.0.0",
54
- "eslint-plugin-vue": "^10.9.2",
53
+ "eslint-plugin-unicorn": "^74.0.0",
54
+ "eslint-plugin-vue": "^10.10.0",
55
55
  "eslint-processor-vue-blocks": "^2.0.0",
56
- "globals": "^17.7.0",
57
- "globby": "^16.2.2",
56
+ "globals": "^17.11.0",
57
+ "globby": "^16.2.4",
58
58
  "is-glob": "^4.0.3",
59
- "postcss-html": "^1.8.1",
59
+ "postcss-html": "^2.0.0",
60
+ "stylelint-config-html": "^2.0.0",
61
+ "stylelint-config-recommended": "^18.0.0",
62
+ "stylelint-config-recommended-vue": "^2.0.0",
60
63
  "stylelint-config-standard": "^40.0.0",
61
- "stylelint-config-standard-vue": "^1.0.0",
64
+ "stylelint-config-standard-vue": "^2.0.0",
62
65
  "stylelint-order": "^8.1.1",
63
- "typescript-eslint": "^8.64.0",
66
+ "typescript-eslint": "^8.68.0",
64
67
  "vue-eslint-parser": "^10.4.1"
65
68
  },
66
69
  "peerDependencies": {
@@ -69,8 +72,8 @@
69
72
  "typescript": ">=5.8"
70
73
  },
71
74
  "devDependencies": {
72
- "eslint": "^10.7.0",
73
- "stylelint": "~17.14.0",
75
+ "eslint": "^10.9.1",
76
+ "stylelint": "~17.14.1",
74
77
  "typescript": "~6.0.3"
75
78
  },
76
79
  "license": "MIT",
package/src/base.js CHANGED
@@ -236,6 +236,8 @@ export function base({ stylistic: stylisticOptions, inCI }) {
236
236
 
237
237
  'unicorn/no-array-callback-reference': 'off',
238
238
 
239
+ 'unicorn/single-line-block-comment-style': 'off',
240
+
239
241
  // vue 中 this 会误报
240
242
  'unicorn/no-this-outside-of-class': 'off',
241
243