@dvukovic/style-guide 0.3.16 → 0.3.18

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dvukovic/style-guide",
3
- "version": "0.3.16",
3
+ "version": "0.3.18",
4
4
  "description": "My own style guide",
5
5
  "repository": {
6
6
  "type": "git",
@@ -24,7 +24,7 @@ module.exports = {
24
24
  "max-classes-per-file": ["error", 1],
25
25
  "max-depth": ["error", 4],
26
26
  "max-lines": ["error", 700],
27
- "max-params": ["error", 2],
27
+ "max-params": ["error", 3],
28
28
  "no-alert": "error",
29
29
  "no-array-constructor": "error",
30
30
  "no-async-promise-executor": "error",
@@ -42,7 +42,7 @@ module.exports = {
42
42
  },
43
43
  },
44
44
  ],
45
- "@typescript-eslint/max-params": ["error", { max: 2 }],
45
+ "@typescript-eslint/max-params": ["error", { max: 3 }],
46
46
  "@typescript-eslint/method-signature-style": "error",
47
47
  "@typescript-eslint/naming-convention": [
48
48
  "error",
@@ -86,7 +86,6 @@ module.exports = {
86
86
  },
87
87
  ],
88
88
  "@typescript-eslint/no-misused-new": "error",
89
- "@typescript-eslint/no-misused-promises": "error",
90
89
  "@typescript-eslint/no-mixed-enums": "error",
91
90
  "@typescript-eslint/no-namespace": "error",
92
91
  "@typescript-eslint/no-non-null-asserted-nullish-coalescing": "error",
@@ -163,7 +162,7 @@ module.exports = {
163
162
  allowBoolean: false,
164
163
  allowNever: false,
165
164
  allowNullish: false,
166
- allowNumber: false,
165
+ allowNumber: true,
167
166
  allowRegExp: false,
168
167
  },
169
168
  ],