fix: typescript-eslint conflict with indent rule (#59)

This commit is contained in:
Han(ハン) 2021-06-24 21:57:50 +09:00 committed by GitHub
parent 7998ef85f8
commit 5bc11e42e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,10 +11,11 @@ module.exports = {
// TS // TS
'no-useless-constructor': 'off', 'no-useless-constructor': 'off',
'@typescript-eslint/semi': ['error', 'never'], '@typescript-eslint/semi': ['error', 'never'],
'@typescript-eslint/indent': ['error', 2],
'@typescript-eslint/member-delimiter-style': ['error', { multiline: { delimiter: 'none' } }], '@typescript-eslint/member-delimiter-style': ['error', { multiline: { delimiter: 'none' } }],
'@typescript-eslint/type-annotation-spacing': ['error', {}], '@typescript-eslint/type-annotation-spacing': ['error', {}],
'indent': 'off',
'@typescript-eslint/indent': ['error', 2],
'no-unused-vars': 'off', 'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': 'error', '@typescript-eslint/no-unused-vars': 'error',
'no-redeclare': 'off', 'no-redeclare': 'off',