fix: rules
This commit is contained in:
parent
cc47ac65e6
commit
6373bc7ec9
@ -170,6 +170,17 @@ module.exports = {
|
||||
'template-curly-spacing': 'error',
|
||||
'arrow-parens': ['error', 'as-needed', { requireForBlockBody: true }],
|
||||
'generator-star-spacing': 'off',
|
||||
'spaced-comment': ['error', 'always', {
|
||||
line: {
|
||||
markers: ['/'],
|
||||
exceptions: ['/', '#'],
|
||||
},
|
||||
block: {
|
||||
markers: ['!'],
|
||||
exceptions: ['*'],
|
||||
balanced: true,
|
||||
},
|
||||
}],
|
||||
|
||||
// best-practice
|
||||
'array-callback-return': 'error',
|
||||
|
@ -36,5 +36,6 @@ module.exports = {
|
||||
'@typescript-eslint/ban-ts-comment': 'off',
|
||||
'@typescript-eslint/explicit-module-boundary-types': 'off',
|
||||
'@typescript-eslint/ban-types': 'off',
|
||||
'@typescript-eslint/no-namespace': 'off',
|
||||
},
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user