From d2d53b65e3ee9fc507b43b791969a74f10d9490e Mon Sep 17 00:00:00 2001 From: Jon Ursenbach Date: Tue, 25 Feb 2020 15:11:36 -0800 Subject: [PATCH] fix: remove unicorn/escape-case (#50) * fix: removing the `unicorn/escape-case` rule from being applied * feat: enabling `jest/prefer-todo` --- index.js | 1 - testing.js | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 9c912747..63b8f621 100644 --- a/index.js +++ b/index.js @@ -54,7 +54,6 @@ module.exports = { // "unicorn/consistent-function-scoping": "error", // Maybe? 'unicorn/custom-error-definition': 'error', 'unicorn/error-message': 'error', - 'unicorn/escape-case': 'error', 'unicorn/new-for-builtins': 'error', 'unicorn/no-array-instanceof': 'error', // "unicorn/no-for-loop": "error", // Maybe? diff --git a/testing.js b/testing.js index 78f6e2d4..9faf1735 100644 --- a/testing.js +++ b/testing.js @@ -10,9 +10,11 @@ module.exports = { 'jest/no-disabled-tests': 'off', 'jest/no-duplicate-hooks': 'warn', 'jest/no-expect-resolves': 'warn', + 'jest/no-truthy-falsy': 'error', 'jest/no-if': 'error', 'jest/prefer-hooks-on-top': 'warn', 'jest/prefer-strict-equal': 'error', + 'jest/prefer-todo': 'warn', 'jest/require-to-throw-message': 'error', 'jest/valid-describe': 'error', 'jest/valid-title': 'warn',