@virmator/lint 13.2.1 → 13.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.
|
@@ -69,6 +69,7 @@ export function defineEslintConfig(repoDir) {
|
|
|
69
69
|
unicorn: eslintPluginUnicorn,
|
|
70
70
|
},
|
|
71
71
|
rules: {
|
|
72
|
+
'@typescript-eslint/no-confusing-void-expression': 'off',
|
|
72
73
|
'@typescript-eslint/no-dynamic-delete': 'off',
|
|
73
74
|
'@typescript-eslint/no-explicit-any': 'off',
|
|
74
75
|
'@typescript-eslint/no-invalid-void-type': 'off',
|
|
@@ -80,6 +81,7 @@ export function defineEslintConfig(repoDir) {
|
|
|
80
81
|
'@typescript-eslint/no-unsafe-member-access': 'off',
|
|
81
82
|
'@typescript-eslint/no-unsafe-return': 'off',
|
|
82
83
|
|
|
84
|
+
'no-async-promise-executor': 'off',
|
|
83
85
|
'prettier/prettier': 'off',
|
|
84
86
|
'sonarjs/no-duplicate-string': 'off',
|
|
85
87
|
|
|
@@ -103,7 +105,6 @@ export function defineEslintConfig(repoDir) {
|
|
|
103
105
|
'unicorn/no-unreadable-iife': 'error',
|
|
104
106
|
'unicorn/no-useless-fallback-in-spread': 'error',
|
|
105
107
|
'unicorn/no-useless-length-check': 'error',
|
|
106
|
-
'unicorn/no-useless-promise-resolve-reject': 'error',
|
|
107
108
|
'unicorn/no-useless-spread': 'error',
|
|
108
109
|
'unicorn/no-useless-switch-case': 'error',
|
|
109
110
|
'unicorn/no-zero-fractions': 'error',
|
|
@@ -154,12 +155,6 @@ export function defineEslintConfig(repoDir) {
|
|
|
154
155
|
checkThenables: true,
|
|
155
156
|
},
|
|
156
157
|
],
|
|
157
|
-
'@typescript-eslint/no-confusing-void-expression': [
|
|
158
|
-
'error',
|
|
159
|
-
{
|
|
160
|
-
ignoreArrowShorthand: true,
|
|
161
|
-
},
|
|
162
|
-
],
|
|
163
158
|
'@stylistic/padding-line-between-statements': [
|
|
164
159
|
'error',
|
|
165
160
|
/** Require new lines between imports and everything else. */
|
|
@@ -201,5 +196,13 @@ export function defineEslintConfig(repoDir) {
|
|
|
201
196
|
],
|
|
202
197
|
...tsEslint.configs.disableTypeChecked,
|
|
203
198
|
},
|
|
199
|
+
{
|
|
200
|
+
files: [
|
|
201
|
+
'**/*.test.ts',
|
|
202
|
+
],
|
|
203
|
+
rules: {
|
|
204
|
+
'@typescript-eslint/no-unused-vars': 'off',
|
|
205
|
+
},
|
|
206
|
+
},
|
|
204
207
|
];
|
|
205
208
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@virmator/lint",
|
|
3
|
-
"version": "13.2.
|
|
3
|
+
"version": "13.2.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.2.
|
|
35
|
+
"@virmator/core": "^13.2.3",
|
|
36
36
|
"mri": "^1.2.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|