Update .eslintrc.js

This commit is contained in:
syuilo 2021-09-05 16:44:36 +09:00
parent ce751db240
commit 0180887bbb

View File

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