@virmator/lint 13.3.2 → 13.3.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/configs/eslint.config.base.mjs +17 -11
- package/package.json +2 -2
|
@@ -87,25 +87,27 @@ export function defineEslintConfig(repoDir) {
|
|
|
87
87
|
'@typescript-eslint/no-unsafe-enum-comparison': 'off',
|
|
88
88
|
'@typescript-eslint/no-unsafe-member-access': 'off',
|
|
89
89
|
'@typescript-eslint/no-unsafe-return': 'off',
|
|
90
|
+
'@typescript-eslint/no-useless-constructor': 'off', // this rule is always wrong
|
|
90
91
|
'@typescript-eslint/prefer-reduce-type-parameter': 'off',
|
|
91
92
|
'@typescript-eslint/unified-signatures': 'off', // this rule is always wrong
|
|
92
|
-
'@typescript-eslint/no-useless-constructor': 'off', // this rule is always wrong
|
|
93
93
|
|
|
94
94
|
'sonarjs/cognitive-complexity': 'off',
|
|
95
|
-
'sonarjs/no-empty-test-file': 'off', // this rule is wrong
|
|
96
|
-
'sonarjs/no-misused-promises': 'off', // this rule is wrong
|
|
97
95
|
'sonarjs/different-types-comparison': 'off', // this rule is wrong
|
|
98
|
-
'sonarjs/
|
|
99
|
-
'sonarjs/no-nested-functions': 'off',
|
|
96
|
+
'sonarjs/function-return-type': 'off',
|
|
100
97
|
'sonarjs/no-alphabetical-sort': 'off',
|
|
98
|
+
'sonarjs/no-duplicate-string': 'off',
|
|
99
|
+
'sonarjs/no-empty-test-file': 'off', // this rule is wrong
|
|
100
|
+
'sonarjs/no-misused-promises': 'off', // this rule is wrong
|
|
101
101
|
'sonarjs/no-nested-conditional': 'off',
|
|
102
|
+
'sonarjs/no-nested-functions': 'off',
|
|
102
103
|
'sonarjs/no-redundant-optional': 'off',
|
|
103
|
-
'sonarjs/
|
|
104
|
+
'sonarjs/no-undefined-argument': 'off',
|
|
105
|
+
'sonarjs/no-useless-constructor': 'off', // this rule is wrong
|
|
104
106
|
'sonarjs/prefer-nullish-coalescing': 'off',
|
|
105
|
-
'sonarjs/
|
|
106
|
-
'sonarjs/
|
|
107
|
+
'sonarjs/publicly-writable-directories': 'off',
|
|
108
|
+
'sonarjs/sonar-prefer-regexp-exec': 'off',
|
|
107
109
|
'sonarjs/use-type-alias': 'off',
|
|
108
|
-
'sonarjs/
|
|
110
|
+
'sonarjs/void-use': 'off',
|
|
109
111
|
|
|
110
112
|
'no-async-promise-executor': 'off',
|
|
111
113
|
'no-prototype-builtins': 'off',
|
|
@@ -228,10 +230,14 @@ export function defineEslintConfig(repoDir) {
|
|
|
228
230
|
'**/*.test.ts',
|
|
229
231
|
],
|
|
230
232
|
rules: {
|
|
231
|
-
'@typescript-eslint/no-unused-vars': 'off',
|
|
232
233
|
'@typescript-eslint/no-unused-expressions': 'off',
|
|
233
|
-
'
|
|
234
|
+
'@typescript-eslint/no-unused-vars': 'off',
|
|
235
|
+
'no-sparse-arrays': 'off',
|
|
234
236
|
'sonarjs/no-dead-store': 'off',
|
|
237
|
+
'sonarjs/no-empty-function': 'off',
|
|
238
|
+
'sonarjs/no-unused-expressions': 'off',
|
|
239
|
+
'sonarjs/pseudo-random': 'off',
|
|
240
|
+
'sonarjs/redundant-type-aliases': 'off',
|
|
235
241
|
'sonarjs/sonar-no-unused-vars': 'off',
|
|
236
242
|
},
|
|
237
243
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@virmator/lint",
|
|
3
|
-
"version": "13.3.
|
|
3
|
+
"version": "13.3.3",
|
|
4
4
|
"description": "Default ESLint linting plugin for virmator.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"virmator",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@augment-vir/common": "^29.3.0",
|
|
35
|
-
"@virmator/core": "^13.3.
|
|
35
|
+
"@virmator/core": "^13.3.3",
|
|
36
36
|
"mri": "^1.2.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|