📦 Chore: fix eslint error notice in indent

This commit is contained in:
PiEgg 2021-04-16 10:12:11 +08:00
parent b05139fc9a
commit 69e1dc8128

View File

@ -15,7 +15,9 @@ module.exports = {
'plugins': ['@typescript-eslint'], 'plugins': ['@typescript-eslint'],
rules: { rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'off' : 'off', '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: { parserOptions: {
parser: '@typescript-eslint/parser' parser: '@typescript-eslint/parser'