Skip to content
This repository has been archived by the owner on Dec 2, 2022. It is now read-only.

Commit

Permalink
fix(ember-order-imports): adapt to new config schema
Browse files Browse the repository at this point in the history
  • Loading branch information
buschtoens committed Jun 12, 2019
1 parent 02bd3b7 commit 21729f8
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions packages/eslint-config-ember-order-imports/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,8 @@ module.exports = {
'import-helpers/order-imports': [
'error',
{
'newlines-between': 'always',
newlinesBetween: 'always',
groups: [
'builtin',
// Testing modules
[
'/^qunit/',
Expand All @@ -27,8 +26,10 @@ module.exports = {
],
// Ember.js modules
['/^ember$/', '/^@ember/', '/^ember-data/'],
['external'],
[`/^${APP_NAME}\\//`, `/^dummy\\//`, 'internal'],
['/^ember-/'],
['module'],
['absolute'],
[`/^${APP_NAME}\\//`, `/^dummy\\//`],
['parent', 'sibling', 'index']
],
alphabetize: { order: 'asc', ignoreCase: true }
Expand Down

0 comments on commit 21729f8

Please sign in to comment.