diff --git a/ts.js b/ts.js index 9f1c118..653a14d 100644 --- a/ts.js +++ b/ts.js @@ -21,6 +21,8 @@ module.exports = { '@typescript-eslint/no-this-alias': 'off', // allow 'const self = this' '@typescript-eslint/await-thenable': 'error', // disallows awaiting a value that is not a "Thenable" '@typescript-eslint/restrict-template-expressions': 'off', // allow values with `any` type in template literals + 'no-return-await': 'off', // disable this rule to use @typescript-eslint/return-await instead + '@typescript-eslint/return-await': ['error', 'in-try-catch'], // require awaiting thenables returned from try/catch 'jsdoc/require-param': 'off', // do not require jsdoc for params 'jsdoc/require-param-type': 'off' // allow compiler to derive param type }