@bratislava/eslint-config-nest 0.10.0 → 0.12.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/index.js +3 -0
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -42,6 +42,9 @@ const jestConfig = {
|
|
|
42
42
|
"jest/unbound-method": "error",
|
|
43
43
|
// Allow unused vars in tests (common with mocking)
|
|
44
44
|
"@typescript-eslint/no-unused-vars": "warn",
|
|
45
|
+
"dot-notation": "off", // to test private methods
|
|
46
|
+
"sonarjs/no-nested-functions": "off",
|
|
47
|
+
"@typescript-eslint/no-misused-spread": "off", // spreading DTOs in tests is fine, prototype is irrelevant
|
|
45
48
|
},
|
|
46
49
|
};
|
|
47
50
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bratislava/eslint-config-nest",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.0",
|
|
4
4
|
"description": "ESLint configuration for NestJS backend projects",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"typescript": ">= 5"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@bratislava/eslint-config": "0.
|
|
33
|
+
"@bratislava/eslint-config": "0.12.0",
|
|
34
34
|
"@darraghor/eslint-plugin-nestjs-typed": "7.1.3",
|
|
35
35
|
"@eslint/json": "0.14.0",
|
|
36
36
|
"eslint-plugin-jest": "28.13.5",
|