diff --git a/src/ts.js b/src/ts.js index 443e1de..a5ffabd 100644 --- a/src/ts.js +++ b/src/ts.js @@ -21,6 +21,7 @@ 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 + '@typescript-eslint/method-signature-style': ['error', 'method'], // enforce method signature style '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