From 5a7e1b625872912c5a75ebe06a630d643e24d2a7 Mon Sep 17 00:00:00 2001 From: Jon Ursenbach Date: Mon, 17 Feb 2020 11:09:47 -0800 Subject: [PATCH] feat: enabling `unicorn/no-unsafe-regex` --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index b8c09f5d..9c912747 100644 --- a/index.js +++ b/index.js @@ -61,7 +61,7 @@ module.exports = { 'no-nested-ternary': 'off', // Disabled in favor of `unicorn/no-nested-ternary` which has better nesting detection. 'unicorn/no-nested-ternary': 'error', 'unicorn/no-unreadable-array-destructuring': 'error', - // "unicorn/no-unsafe-regex": "error", // @todo We should resolve these. + 'unicorn/no-unsafe-regex': 'error', 'unicorn/no-unused-properties': 'error', // "unicorn/prefer-includes": "error", // Maybe? // "unicorn/prefer-query-selector": "error", // Maybe?