Skip to content

Commit

Permalink
Add @typescript-eslint/prefer-nullish-coalescing rule
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Nov 26, 2019
1 parent 7162c21 commit 9d28a44
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ module.exports = {
'@typescript-eslint/prefer-function-type': 'error',
'@typescript-eslint/prefer-includes': 'error',
'@typescript-eslint/prefer-namespace-keyword': 'error',
'@typescript-eslint/prefer-nullish-coalescing': 'error',
'@typescript-eslint/prefer-readonly': 'error',
'@typescript-eslint/prefer-string-starts-ends-with': 'error',
'@typescript-eslint/promise-function-async': [
Expand Down

0 comments on commit 9d28a44

Please sign in to comment.