change deprecated rule @typescript-eslint/prefer-interface to @typescript-eslint/consistent-type-definitions

This commit is contained in:
Alexander T 2019-07-24 14:08:55 +03:00
parent 0059763d8f
commit e48123e203

View File

@ -21,6 +21,7 @@
"camelcase": "off",
"@typescript-eslint/camelcase": ["error", { "properties": "never", "allow": ["^[A-Za-z][a-zA-Za-z]+_[A-Za-z]+$"] }],
"@typescript-eslint/class-name-casing": "error",
"@typescript-eslint/consistent-type-definitions": ["error", "interface"],
"@typescript-eslint/explicit-member-accessibility": "off",
"@typescript-eslint/import/order": "off",
"indent": "off",
@ -48,7 +49,6 @@
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/prefer-for-of": "error",
"@typescript-eslint/prefer-function-type": "error",
"@typescript-eslint/prefer-interface": "error",
"@typescript-eslint/prefer-namespace-keyword": "error",
"semi": "off",
"@typescript-eslint/semi": "error",