chore: introduce imports ordering (#5463)

This commit is contained in:
Vladislav Shkodin
2021-05-31 16:46:41 +02:00
committed by GitHub
parent 30f0e7b031
commit dbf2920254
212 changed files with 570 additions and 342 deletions

View File

@ -31,6 +31,13 @@ module.exports = {
'no-console': [0],
'react/prop-types': [0],
'import/no-named-as-default': 0,
'import/order': [
'error',
{
'newlines-between': 'always',
groups: [['builtin', 'external'], ['internal', 'parent', 'sibling', 'index'], ['type']],
},
],
'no-duplicate-imports': 'error',
'@emotion/no-vanilla': 'error',
'@emotion/import-from-emotion': 'error',