@ithinkdt/lint 4.0.5 → 4.0.6

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 +4 -4
  2. package/src/base.js +6 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ithinkdt/lint",
3
- "version": "4.0.5",
3
+ "version": "4.0.6",
4
4
  "type": "module",
5
5
  "description": "iThinkDT 项目的 ESLint、StyleLint 配置",
6
6
  "keywords": [
@@ -37,7 +37,7 @@
37
37
  "@eslint/json": ">=2.0.0",
38
38
  "@eslint/markdown": "^8.0.2",
39
39
  "@stylistic/eslint-plugin": "^5.10.0",
40
- "@typescript-eslint/parser": "^8.60.1",
40
+ "@typescript-eslint/parser": "^8.61.0",
41
41
  "@unocss/eslint-config": "^66.7.0",
42
42
  "@vitest/eslint-plugin": "^1.6.19",
43
43
  "@vue/compiler-sfc": "^3.5.35",
@@ -50,7 +50,7 @@
50
50
  "eslint-plugin-no-only-tests": "^3.4.0",
51
51
  "eslint-plugin-playwright": "^2.10.4",
52
52
  "eslint-plugin-tsdoc": ">=0.5.2",
53
- "eslint-plugin-unicorn": "^65.0.0",
53
+ "eslint-plugin-unicorn": "^65.0.1",
54
54
  "eslint-plugin-vue": "^10.9.2",
55
55
  "eslint-processor-vue-blocks": "^2.0.0",
56
56
  "globals": "^17.6.0",
@@ -60,7 +60,7 @@
60
60
  "stylelint-config-standard": "^40.0.0",
61
61
  "stylelint-config-standard-vue": "^1.0.0",
62
62
  "stylelint-order": "^8.1.1",
63
- "typescript-eslint": "^8.60.1",
63
+ "typescript-eslint": "^8.61.0",
64
64
  "vue-eslint-parser": "^10.4.1"
65
65
  },
66
66
  "peerDependencies": {
package/src/base.js CHANGED
@@ -140,6 +140,12 @@ export function base({ stylistic: stylisticOptions, inCI }) {
140
140
  // 不提升箭头函数
141
141
  'unicorn/consistent-function-scoping': 'off',
142
142
 
143
+ // 关闭 better-dom-traversing
144
+ 'unicorn/better-dom-traversing': 'off',
145
+
146
+ // 关闭优先使用 https
147
+ 'unicorn/prefer-https': 'off',
148
+
143
149
  // 文件名拼写忽略组件
144
150
  'unicorn/filename-case': ['warn', {
145
151
  case: 'kebabCase',