feat: enable sort-imports

This commit is contained in:
Anthony Fu 2021-12-18 11:42:52 +08:00
parent 37439ec91a
commit d45487e1f6

View File

@ -229,5 +229,16 @@ module.exports = {
'no-use-before-define': ['error', { functions: false, classes: false, variables: true }],
'eslint-comments/disable-enable-pair': 'off',
'import/no-named-as-default-member': 'off',
'sort-imports': [
'error',
{
ignoreCase: false,
ignoreDeclarationSort: true,
ignoreMemberSort: false,
memberSyntaxSortOrder: ['none', 'all', 'multiple', 'single'],
allowSeparatedGroups: false,
},
],
},
}