@fullstacksjs/eslint-config 13.8.0 → 13.8.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.
|
@@ -198,8 +198,7 @@ function typescript(options = {}) {
|
|
|
198
198
|
'@typescript-eslint/no-unnecessary-boolean-literal-compare': 'error',
|
|
199
199
|
'@typescript-eslint/no-unsafe-enum-comparison': 'warn',
|
|
200
200
|
'@typescript-eslint/no-unnecessary-condition': ['warn', {
|
|
201
|
-
allowConstantLoopConditions: false
|
|
202
|
-
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false
|
|
201
|
+
allowConstantLoopConditions: false
|
|
203
202
|
}],
|
|
204
203
|
'@typescript-eslint/no-unnecessary-qualifier': 'error',
|
|
205
204
|
'@typescript-eslint/no-unnecessary-template-expression': 'warn',
|
|
@@ -216,8 +215,7 @@ function typescript(options = {}) {
|
|
|
216
215
|
'@typescript-eslint/prefer-nullish-coalescing': ['warn', {
|
|
217
216
|
ignoreConditionalTests: false,
|
|
218
217
|
ignoreTernaryTests: false,
|
|
219
|
-
ignoreMixedLogicalExpressions:
|
|
220
|
-
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false
|
|
218
|
+
ignoreMixedLogicalExpressions: true
|
|
221
219
|
}],
|
|
222
220
|
'@typescript-eslint/prefer-regexp-exec': 'warn',
|
|
223
221
|
'@typescript-eslint/prefer-promise-reject-errors': 'warn',
|
package/package.json
CHANGED
|
@@ -175,7 +175,6 @@ function typescript(options = {}) {
|
|
|
175
175
|
'warn',
|
|
176
176
|
{
|
|
177
177
|
allowConstantLoopConditions: false,
|
|
178
|
-
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false,
|
|
179
178
|
},
|
|
180
179
|
],
|
|
181
180
|
'@typescript-eslint/no-unnecessary-qualifier': 'error',
|
|
@@ -193,8 +192,7 @@ function typescript(options = {}) {
|
|
|
193
192
|
{
|
|
194
193
|
ignoreConditionalTests: false,
|
|
195
194
|
ignoreTernaryTests: false,
|
|
196
|
-
ignoreMixedLogicalExpressions:
|
|
197
|
-
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false,
|
|
195
|
+
ignoreMixedLogicalExpressions: true,
|
|
198
196
|
},
|
|
199
197
|
],
|
|
200
198
|
'@typescript-eslint/prefer-regexp-exec': 'warn',
|