Update .eslintrc.js

This commit is contained in:
syuilo 2021-09-05 16:44:36 +09:00
parent ce751db240
commit 0180887bbb
1 changed files with 6 additions and 0 deletions

View File

@ -26,6 +26,12 @@ module.exports = {
'before': true,
'after': true,
}],
/* TODO: path alias使warn
'no-restricted-imports': ['warn', {
'patterns': [
]
}],
*/
'no-multi-spaces': ['error'],
'no-var': ['error'],
'prefer-arrow-callback': ['error'],