Skip to content

Commit 369a41f

Browse files
committed
Disable the prefer-interface rule
1 parent 38cad5a commit 369a41f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

index.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,11 @@ module.exports = {
161161
}
162162
],
163163
'@typescript-eslint/no-var-requires': 'error',
164-
'@typescript-eslint/prefer-interface': 'error',
164+
165+
// Disabled as I would like to *enforce* type aliases instead:
166+
// https://github.com/typescript-eslint/typescript-eslint/issues/142
167+
// '@typescript-eslint/prefer-interface': 'error',
168+
165169
'@typescript-eslint/prefer-namespace-keyword': 'error',
166170
'@typescript-eslint/restrict-plus-operands': 'error',
167171
'@typescript-eslint/type-annotation-spacing': 'error'

0 commit comments

Comments
 (0)