From 3a58260d129839a1ca7ca88a2d45f13c15e3d046 Mon Sep 17 00:00:00 2001 From: Sebastian Seedorf Date: Thu, 19 Nov 2020 22:16:48 +0100 Subject: [PATCH] More strict eslint rules --- .eslintrc.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 11f3af9..d262676 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -21,7 +21,6 @@ module.exports = { 'no-null/no-null': 'error', 'no-useless-return': 'error', 'prefer-arrow-callback': 'warn', - 'object-curly-spacing': 'error', 'consistent-return': 'error', '@typescript-eslint/explicit-function-return-type': [ 'error', { @@ -35,7 +34,13 @@ module.exports = { 'semi': 'error', 'no-implicit-coercion': 'error', 'quotes': ['error', 'single', 'avoid-escape'], - + 'keyword-spacing': 'error', + 'semi-spacing': 'error', + 'arrow-spacing': 'error', + 'object-curly-spacing': 'error', + 'array-bracket-spacing': 'error', + 'key-spacing': 'error', + 'block-spacing': 'error', 'promise/always-return': 'off', }, };