From 64a03da534e8fd25977265adbb1dabedb0598945 Mon Sep 17 00:00:00 2001 From: "Luiz Carlos L. G. de Oliveira" Date: Thu, 19 Dec 2024 15:25:04 -0400 Subject: [PATCH] Add not-invalid-this rule not-invalid-this rule has been an issue once in a project, but this is something that a linter should be able to catch. For more information see https://eslint.org/docs/latest/rules/no-invalid-this --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index 230b47c..eb96e79 100644 --- a/index.js +++ b/index.js @@ -55,6 +55,7 @@ module.exports = { 'no-mixed-operators': 'off', 'function-paren-newline': 'off', 'object-curly-newline': 'off', + 'no-invalid-this': 'error', 'comma-dangle': [ 'error', {