mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-15 03:23:08 -06:00
change deprecated rule @typescript-eslint/prefer-interface to @typescript-eslint/consistent-type-definitions
This commit is contained in:
parent
0059763d8f
commit
e48123e203
@ -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",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user