Skip to content

Commit

Permalink
feat(config): enable import/order
Browse files Browse the repository at this point in the history
  • Loading branch information
dackmin committed Nov 25, 2020
1 parent bc09469 commit 8e123d4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/eslint-config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ module.exports = {

// Import
'import/newline-after-import': WARNING,
'import/order': [WARNING, {
groups: ['builtin', 'external', ['parent', 'sibling', 'index']],
'newlines-between': 'always',
}],

// Custom rules
'@poool/no-extra-parens': [WARNING, 'all', {
Expand Down

0 comments on commit 8e123d4

Please sign in to comment.