enable more lints

cherry-picked from 2a2020b79786b25668bfcfed19366a26c840e508
This commit is contained in:
Johann150 2022-07-13 10:15:24 +02:00
parent 31da7bc88a
commit d5d3935cfd
Signed by: Johann150
GPG key ID: 9EE6577A2A06F8F1

View file

@ -31,6 +31,11 @@ module.exports = {
'beforeColon': false,
'afterColon': true,
}],
'arrow-spacing': ['error', {
'before': true,
'after': true,
}],
'padded-blocks': ['error', 'never'],
/* TODO: path alias使warn
'no-restricted-imports': ['warn', {
'patterns': [