Skip to content

Commit

Permalink
Disable the no-type-alias rule
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Jan 26, 2019
1 parent f97c32b commit de1d672
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 @@ -140,7 +140,11 @@ module.exports = {
}
],
'@typescript-eslint/no-triple-slash-reference': 'error',
'@typescript-eslint/no-type-alias': 'error',

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

'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': [
'error',
Expand Down

0 comments on commit de1d672

Please sign in to comment.