chore: Add EsLint rule import/order (#9685)

This commit is contained in:
Nikolay Vitkov
2023-02-16 00:09:31 +01:00
committed by GitHub
parent e8e18ae081
commit eefe9583d0
156 changed files with 504 additions and 291 deletions

View File

@@ -110,6 +110,14 @@ module.exports = {
],
'import/extensions': ['error', 'ignorePackages'],
'import/order': [
'error',
{
'newlines-between': 'always',
alphabetize: {order: 'asc', caseInsensitive: true},
},
],
'no-restricted-syntax': [
'error',
// Don't allow underscored declarations on camelCased variables/properties.