From 1301ff201be6c8517d8c0deb19d63acf37ffda68 Mon Sep 17 00:00:00 2001 From: Christoph Guttandin Date: Sun, 8 Mar 2020 14:06:43 +0100 Subject: [PATCH] fix: rename unicorn/regex-shorthand to unicorn/better-regex --- src/module.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/module.js b/src/module.js index 7c00bc3..dbe3207 100644 --- a/src/module.js +++ b/src/module.js @@ -159,6 +159,7 @@ module.exports = { 'switch-colon-spacing': 'error', 'symbol-description': 'error', 'template-curly-spacing': [ 'error', 'always' ], + 'unicorn/better-regex': 'error', 'unicorn/catch-error-name': [ 'error', { name: 'err' } ], 'unicorn/consistent-function-scoping': 'error', 'unicorn/custom-error-definition': 'error', @@ -181,7 +182,6 @@ module.exports = { 'unicorn/prefer-text-content': 'error', 'unicorn/prefer-trim-start-end': 'error', 'unicorn/prefer-type-error': 'error', - 'unicorn/regex-shorthand': 'error', 'unicorn/throw-new-error': 'error', 'vars-on-top': 'error', 'wrap-iife': 'error'