File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed
Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -230,7 +230,24 @@ module.exports = {
230230 '@typescript-eslint/explicit-function-return-type' : [ RULES . OFF , { allowTypedFunctionExpressions : false } ] ,
231231 'chai-friendly/no-unused-expressions' : RULES . ERROR ,
232232 '@typescript-eslint/no-unused-expressions' : RULES . OFF ,
233- '@typescript-eslint/return-await' : RULES . OFF
233+ '@typescript-eslint/return-await' : RULES . OFF ,
234+ '@typescript-eslint/strict-boolean-expressions' : [
235+ 'error' ,
236+ {
237+ allowString : true ,
238+ allowNumber : true ,
239+ allowNullableObject : true ,
240+ allowNullableBoolean : true ,
241+ allowNullableString : true ,
242+ allowNullableNumber : true ,
243+ allowAny : true
244+ }
245+ ] ,
246+ '@typescript-eslint/prefer-nullish-coalescing' : RULES . OFF ,
247+ '@typescript-eslint/no-non-null-assertion' : RULES . WARNING ,
248+ '@typescript-eslint/no-floating-promises' : RULES . ERROR ,
249+ '@typescript-eslint/no-dynamic-delete' : RULES . OFF ,
250+ '@typescript-eslint/consistent-type-assertions' : RULES . OFF
234251 }
235252 } ,
236253 {
You can’t perform that action at this time.
0 commit comments