We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
unicorn/better-regex
1 parent 09a592e commit 9b04d81Copy full SHA for 9b04d81
packages/eslint-config-basic/index.js
@@ -348,6 +348,8 @@ module.exports = {
348
'n/no-callback-literal': 'off',
349
350
// unicorns
351
+ // Improve regexes by making them shorter, consistent
352
+ 'unicorn/better-regex': 'error',
353
// Pass error message when throwing errors
354
'unicorn/error-message': 'error',
355
// Uppercase regex escapes
0 commit comments