From 69e1dc812838724834d1736f0f52f8db4850936e Mon Sep 17 00:00:00 2001 From: PiEgg Date: Fri, 16 Apr 2021 10:12:11 +0800 Subject: [PATCH] :package: Chore: fix eslint error notice in indent --- .eslintrc.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.eslintrc.js b/.eslintrc.js index e9789d0..66f7c3e 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -15,7 +15,9 @@ module.exports = { 'plugins': ['@typescript-eslint'], rules: { 'no-console': process.env.NODE_ENV === 'production' ? 'off' : 'off', - 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off' + 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off', + "indent": "off", + "@typescript-eslint/indent": ["error", 2] }, parserOptions: { parser: '@typescript-eslint/parser'