Skip to content

Commit

Permalink
fix: Import order
Browse files Browse the repository at this point in the history
  • Loading branch information
3y3 committed Aug 8, 2024
1 parent d4a82a0 commit af6943a
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,24 @@ module.exports = {
'no-implicit-globals': 'off',
'no-param-reassign': 'off',
'@typescript-eslint/no-shadow': 'off',
'import/no-extraneous-dependencies': 'error',
'import/order': [
'error',
{
alphabetize: {
order: 'ignore',
orderImportKind: 'asc'
},
'newlines-between': 'always',
groups: ['type', ['builtin', 'external'], 'internal', 'parent', 'sibling', 'index'],
warnOnUnassignedImports: true,
pathGroups: [
{
pattern: '*.s?css$',
group: 'index',
},
],
},
],
},
};

0 comments on commit af6943a

Please sign in to comment.