@forsakringskassan/eslint-config-typescript 11.1.2 → 11.2.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 +4 -0
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -31,6 +31,10 @@ module.exports = {
|
|
|
31
31
|
/* require all members to specify "public", "private", etc */
|
|
32
32
|
"@typescript-eslint/explicit-member-accessibility": "error",
|
|
33
33
|
|
|
34
|
+
/* replace base max-params rule with @typescript-eslint/max-params */
|
|
35
|
+
"max-params": "off",
|
|
36
|
+
"@typescript-eslint/max-params": ["error", { max: 5 }],
|
|
37
|
+
|
|
34
38
|
/* allow "const foo: number = 0" */
|
|
35
39
|
"@typescript-eslint/no-inferrable-types": "off",
|
|
36
40
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forsakringskassan/eslint-config-typescript",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.2.0",
|
|
4
4
|
"description": "Försäkringskassans eslint shareable typescript config",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint"
|
|
@@ -28,5 +28,5 @@
|
|
|
28
28
|
"engines": {
|
|
29
29
|
"node": ">= 18.18"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "33535f42b8a6f628a45ab3ea04da6598c3ea1184"
|
|
32
32
|
}
|