Skip to content

Commit

Permalink
Disable the prefer-interface rule
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Jan 26, 2019
1 parent 38cad5a commit 369a41f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,11 @@ module.exports = {
}
],
'@typescript-eslint/no-var-requires': 'error',
'@typescript-eslint/prefer-interface': 'error',

// Disabled as I would like to *enforce* type aliases instead:
// https://github.com/typescript-eslint/typescript-eslint/issues/142
// '@typescript-eslint/prefer-interface': 'error',

'@typescript-eslint/prefer-namespace-keyword': 'error',
'@typescript-eslint/restrict-plus-operands': 'error',
'@typescript-eslint/type-annotation-spacing': 'error'
Expand Down

0 comments on commit 369a41f

Please sign in to comment.