@virmator/lint 13.11.2 → 13.13.0
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 +10 -0
- package/package.json +14 -14
|
@@ -177,6 +177,7 @@ export function defineEslintConfig(repoDir) {
|
|
|
177
177
|
'@typescript-eslint/await-thenable': 'error',
|
|
178
178
|
'@typescript-eslint/no-unused-vars': 'error',
|
|
179
179
|
'no-lonely-if': 'error',
|
|
180
|
+
curly: 'error',
|
|
180
181
|
|
|
181
182
|
'@typescript-eslint/no-floating-promises': [
|
|
182
183
|
'error',
|
|
@@ -191,6 +192,15 @@ export function defineEslintConfig(repoDir) {
|
|
|
191
192
|
],
|
|
192
193
|
},
|
|
193
194
|
],
|
|
195
|
+
allowForKnownSafePromises: [
|
|
196
|
+
{
|
|
197
|
+
from: 'package',
|
|
198
|
+
package: 'fastify',
|
|
199
|
+
name: [
|
|
200
|
+
'FastifyReply',
|
|
201
|
+
],
|
|
202
|
+
},
|
|
203
|
+
],
|
|
194
204
|
checkThenables: true,
|
|
195
205
|
},
|
|
196
206
|
],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@virmator/lint",
|
|
3
|
-
"version": "13.
|
|
3
|
+
"version": "13.13.0",
|
|
4
4
|
"description": "Default ESLint linting plugin for virmator.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"virmator",
|
|
@@ -31,31 +31,31 @@
|
|
|
31
31
|
"test:update": "npm test update"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@augment-vir/assert": "^31.
|
|
35
|
-
"@augment-vir/common": "^31.
|
|
36
|
-
"@virmator/core": "^13.
|
|
34
|
+
"@augment-vir/assert": "^31.9.1",
|
|
35
|
+
"@augment-vir/common": "^31.9.1",
|
|
36
|
+
"@virmator/core": "^13.13.0",
|
|
37
37
|
"mri": "^1.2.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@augment-vir/test": "^31.
|
|
40
|
+
"@augment-vir/test": "^31.9.1",
|
|
41
41
|
"@eslint/eslintrc": "^3.2.0",
|
|
42
42
|
"@eslint/js": "9.14.0",
|
|
43
|
-
"@stylistic/eslint-plugin": "^
|
|
44
|
-
"@stylistic/eslint-plugin-ts": "^
|
|
45
|
-
"@types/node": "^22.
|
|
46
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
43
|
+
"@stylistic/eslint-plugin": "^3.0.1",
|
|
44
|
+
"@stylistic/eslint-plugin-ts": "^3.0.1",
|
|
45
|
+
"@types/node": "^22.13.1",
|
|
46
|
+
"@typescript-eslint/eslint-plugin": "^8.23.0",
|
|
47
47
|
"c8": "^10.1.3",
|
|
48
48
|
"eslint": "9.14.0",
|
|
49
|
-
"eslint-config-prettier": "^
|
|
50
|
-
"eslint-plugin-jsdoc": "^50.6.
|
|
49
|
+
"eslint-config-prettier": "^10.0.1",
|
|
50
|
+
"eslint-plugin-jsdoc": "^50.6.3",
|
|
51
51
|
"eslint-plugin-monorepo-cop": "^1.0.2",
|
|
52
|
-
"eslint-plugin-playwright": "^2.
|
|
53
|
-
"eslint-plugin-prettier": "^5.2.
|
|
52
|
+
"eslint-plugin-playwright": "^2.2.0",
|
|
53
|
+
"eslint-plugin-prettier": "^5.2.3",
|
|
54
54
|
"eslint-plugin-require-extensions": "^0.1.3",
|
|
55
55
|
"eslint-plugin-sonarjs": "^3.0.1",
|
|
56
56
|
"eslint-plugin-unicorn": "^56.0.1",
|
|
57
57
|
"istanbul-smart-text-reporter": "^1.1.5",
|
|
58
|
-
"typescript-eslint": "^8.
|
|
58
|
+
"typescript-eslint": "^8.23.0"
|
|
59
59
|
},
|
|
60
60
|
"engines": {
|
|
61
61
|
"node": ">=22"
|