refactor: class-methods-use-this
This commit is contained in:
parent
a42add7131
commit
af57cb5d71
12 changed files with 48 additions and 45 deletions
|
@ -35,6 +35,9 @@ export default [
|
|||
'@typescript-eslint/array-type': 'warn',
|
||||
'@typescript-eslint/await-thenable': 'error',
|
||||
|
||||
'class-methods-use-this': 'off',
|
||||
'@typescript-eslint/class-methods-use-this': [ 'error', { ignoreOverrideMethods: true } ],
|
||||
|
||||
'consistent-return': 'off',
|
||||
'@typescript-eslint/consistent-return': 'off',
|
||||
'@typescript-eslint/consistent-type-assertions': 'error',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue