Skip to content

Commit

Permalink
close @typescript-eslint/consistent-type-definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
chenshuai2144 committed Jan 20, 2021
1 parent 2842296 commit 4dfbf70
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/tsEslintConfig.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export default {
'no-undef': 0,
'@typescript-eslint/adjacent-overload-signatures': 0,
'@typescript-eslint/array-type': 'error',
'@typescript-eslint/await-thenable': 0,
Expand All @@ -13,7 +14,7 @@ export default {
'@typescript-eslint/comma-spacing': 0,
'@typescript-eslint/consistent-indexed-object-style': 1,
'@typescript-eslint/consistent-type-assertions': 0,
'@typescript-eslint/consistent-type-definitions': ['warn', 'type'],
'@typescript-eslint/consistent-type-definitions': 0,
'@typescript-eslint/consistent-type-imports': 1,
'default-param-last': 'off',
'@typescript-eslint/default-param-last': 0,
Expand Down

0 comments on commit 4dfbf70

Please sign in to comment.