From 56fcb77623836eed042ac27024ccf70dfb487308 Mon Sep 17 00:00:00 2001 From: mrfry Date: Sat, 19 Dec 2020 10:45:12 +0100 Subject: [PATCH] Eslintrc obj shorthand --- .eslintrc.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 7b9d2a2..191e3f6 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -20,7 +20,7 @@ module.exports = { eqeqeq: ['warn', 'smart'], '@typescript-eslint/no-explicit-any': 'off', '@typescript-eslint/explicit-module-boundary-types': [ - 'error', + 'warn', { allowArgumentsExplicitlyTypedAsAny: true }, ], 'no-unused-vars': 'warn', @@ -30,6 +30,7 @@ module.exports = { 'warn', { exceptions: ['i', 'j', 't', 'Q', 'A', 'C', 'q', 'a', 'b', 'x'] }, ], + 'object-shorthand': ['warn', 'never'], }, - root: true + root: true, }