@naturalcycles/dev-lib 13.32.0 → 13.32.2
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/cfg/eslint-rules.js +4 -1
- package/package.json +1 -1
package/cfg/eslint-rules.js
CHANGED
|
@@ -432,6 +432,7 @@ module.exports = {
|
|
|
432
432
|
2,
|
|
433
433
|
{
|
|
434
434
|
accessibility: 'no-public',
|
|
435
|
+
overrides: { parameterProperties: 'off' },
|
|
435
436
|
},
|
|
436
437
|
],
|
|
437
438
|
'@typescript-eslint/no-mixed-enums': 2,
|
|
@@ -439,7 +440,9 @@ module.exports = {
|
|
|
439
440
|
'@typescript-eslint/no-unnecessary-qualifier': 2,
|
|
440
441
|
'@typescript-eslint/prefer-enum-initializers': 2,
|
|
441
442
|
'@typescript-eslint/prefer-literal-enum-member': 2,
|
|
442
|
-
'@typescript-eslint/prefer-reduce-type-parameter':
|
|
443
|
+
'@typescript-eslint/prefer-reduce-type-parameter': 0, // gives ts compilation error
|
|
443
444
|
'@typescript-eslint/prefer-nullish-coalescing': 0, // we prefer `||` actually
|
|
445
|
+
'@typescript-eslint/dot-notation': 0, // not always desireable
|
|
446
|
+
'@typescript-eslint/consistent-indexed-object-style': 0, // Record looses the name of the key
|
|
444
447
|
},
|
|
445
448
|
}
|