Skip to content

Commit

Permalink
feat: enable prefer-as-const (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfbecker authored Apr 7, 2020
1 parent 02ecc4b commit e92f9d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ module.exports = {
'@typescript-eslint/no-use-before-define': ['error', { functions: false }],
'@typescript-eslint/no-useless-constructor': 'error',
'@typescript-eslint/no-var-requires': 'error',
'@typescript-eslint/prefer-as-const': 'error',
'@typescript-eslint/prefer-for-of': 'error',
'@typescript-eslint/prefer-function-type': 'error',
'@typescript-eslint/prefer-includes': 'error',
Expand Down

0 comments on commit e92f9d4

Please sign in to comment.