Skip to content

Commit

Permalink
Add @typescript-eslint/prefer-as-const rule
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Feb 2, 2020
1 parent f599da9 commit c68e88e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Expand Up @@ -332,6 +332,7 @@ module.exports = {
'no-useless-constructor': 'off',
'@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 c68e88e

Please sign in to comment.