From ac4655ee9516d5fc1b29d4d52e17c1751ffc8324 Mon Sep 17 00:00:00 2001 From: Nils Knappmeier Date: Sat, 14 Dec 2019 17:48:08 +0100 Subject: [PATCH] chore: disable "dot-notation" rule - I don't think it makes much sense. In some cases, it is more readable to wrap property access in quotes, some times not, but there is no universal rule for that. - a promises "catch"-function should not be wrapped, but it has to be, if "allow-keywords" is set to false - an "if"-helper should be wrapped, but it is not allowed to be if "allow-keywords" is set to true (default). --- .eslintrc.js | 1 - 1 file changed, 1 deletion(-) diff --git a/.eslintrc.js b/.eslintrc.js index 65c240939..2ac729358 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -17,7 +17,6 @@ module.exports = { // Best Practices // //----------------// 'default-case': 'warn', - 'dot-notation': 'warn', 'guard-for-in': 'warn', 'no-alert': 'error', 'no-caller': 'error',