@ithinkdt/lint 4.1.2 → 4.1.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.
- package/package.json +6 -6
- package/src/base.js +14 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ithinkdt/lint",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.3",
|
|
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.
|
|
40
|
+
"@typescript-eslint/parser": "^8.62.0",
|
|
41
41
|
"@unocss/eslint-config": "^66.7.2",
|
|
42
42
|
"@vitest/eslint-plugin": "^1.6.20",
|
|
43
43
|
"@vue/compiler-sfc": "^3.5.38",
|
|
@@ -46,21 +46,21 @@
|
|
|
46
46
|
"eslint-import-resolver-typescript": "^4.4.5",
|
|
47
47
|
"eslint-merge-processors": "^2.0.0",
|
|
48
48
|
"eslint-plugin-format": "^2.0.1",
|
|
49
|
-
"eslint-plugin-import": "npm:eslint-plugin-import-x@^4.
|
|
49
|
+
"eslint-plugin-import": "npm:eslint-plugin-import-x@^4.17.0",
|
|
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": "^
|
|
53
|
+
"eslint-plugin-unicorn": "^68.0.0",
|
|
54
54
|
"eslint-plugin-vue": "^10.9.2",
|
|
55
55
|
"eslint-processor-vue-blocks": "^2.0.0",
|
|
56
|
-
"globals": "^17.
|
|
56
|
+
"globals": "^17.7.0",
|
|
57
57
|
"globby": "^16.2.0",
|
|
58
58
|
"is-glob": "^4.0.3",
|
|
59
59
|
"postcss-html": "^1.8.1",
|
|
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.
|
|
63
|
+
"typescript-eslint": "^8.62.0",
|
|
64
64
|
"vue-eslint-parser": "^10.4.1"
|
|
65
65
|
},
|
|
66
66
|
"peerDependencies": {
|
package/src/base.js
CHANGED
|
@@ -217,6 +217,20 @@ export function base({ stylistic: stylisticOptions, inCI }) {
|
|
|
217
217
|
|
|
218
218
|
'unicorn/no-top-level-side-effects': 'off',
|
|
219
219
|
|
|
220
|
+
'unicorn/name-replacements': 'off',
|
|
221
|
+
|
|
222
|
+
'unicorn/consistent-boolean-name': 'off',
|
|
223
|
+
|
|
224
|
+
'unicorn/no-top-level-assignment-in-function': 'off',
|
|
225
|
+
|
|
226
|
+
'unicorn/prefer-boolean-return': 'off',
|
|
227
|
+
|
|
228
|
+
'unicorn/no-return-array-push': 'off',
|
|
229
|
+
|
|
230
|
+
'unicorn/no-unreadable-for-of-expression': 'off',
|
|
231
|
+
|
|
232
|
+
'unicorn/no-unnecessary-boolean-comparison': 'off',
|
|
233
|
+
|
|
220
234
|
// vue 中 this 会误报
|
|
221
235
|
'unicorn/no-this-outside-of-class': 'off',
|
|
222
236
|
|