Skip to content

Commit

Permalink
Update ts.js
Browse files Browse the repository at this point in the history
  • Loading branch information
mpetrunic authored Jul 14, 2022
1 parent 1cb468c commit ad46263
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions ts.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,7 @@ module.exports = {
'@typescript-eslint/no-this-alias': 'off', // allow 'const self = this'
'jsdoc/require-param': 'off', // do not require jsdoc for params
'jsdoc/require-param-type': 'off', // allow compiler to derive param type
'@typescript-eslint/no-misused-promises': [
"error",
{
"checksVoidReturn": {
//detects false positives
properties: false
}
}
],
'@typescript-eslint/no-misused-promises': 'error',
'@typescript-eslint/no-floating-promises': 'error',
'@typescript-eslint/await-thenable': 'error' //disallows awaiting non thenable values
}
Expand Down

0 comments on commit ad46263

Please sign in to comment.