@viclafouch/eslint-config-viclafouch 4.10.0 → 4.10.1-beta.1
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 +1 -1
- package/rules/typescript.js +2 -2
package/package.json
CHANGED
package/rules/typescript.js
CHANGED
|
@@ -128,7 +128,7 @@ module.exports = {
|
|
|
128
128
|
|
|
129
129
|
// Don't do array.filter(callback)[0], use arrat.find instead
|
|
130
130
|
// https://typescript-eslint.io/rules/prefer-find
|
|
131
|
-
'@typescript-eslint/prefer-find': 'error',
|
|
131
|
+
// '@typescript-eslint/prefer-find': 'error',
|
|
132
132
|
|
|
133
133
|
// Prefer to use String.startsWith and String.endsWith
|
|
134
134
|
// https://typescript-eslint.io/rules/prefer-string-starts-ends-with
|
|
@@ -136,7 +136,7 @@ module.exports = {
|
|
|
136
136
|
|
|
137
137
|
// Prefer to use unknown instead of any for error in catch callback
|
|
138
138
|
// https://typescript-eslint.io/rules/use-unknown-in-catch-callback-variable
|
|
139
|
-
'@typescript-eslint/use-unknown-in-catch-callback-variable': 'error',
|
|
139
|
+
// '@typescript-eslint/use-unknown-in-catch-callback-variable': 'error',
|
|
140
140
|
|
|
141
141
|
// No more "as Record<any, any>" in Array.reduce initial value, use generics
|
|
142
142
|
// https://typescript-eslint.io/rules/prefer-reduce-type-parameter
|