Skip to content

Commit

Permalink
Add prefer-regex-literals rule
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Sep 25, 2019
1 parent 58f9da9 commit 7f94f4a
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 @@ -150,6 +150,7 @@ module.exports = {
allowEmptyReject: true
}
],
'prefer-regex-literals': 'error',
radix: 'error',

// Disabled for now as it causes too much churn
Expand Down

0 comments on commit 7f94f4a

Please sign in to comment.