Skip to content

Commit

Permalink
Merge pull request #25 from neighborhoods/version-1.2.10
Browse files Browse the repository at this point in the history
Remove deprecated import-order package in favor of import/order
  • Loading branch information
Megan authored May 21, 2019
2 parents bd95551 + 14ae250 commit c5b71d5
Show file tree
Hide file tree
Showing 6 changed files with 545 additions and 25 deletions.
6 changes: 3 additions & 3 deletions js/base/rules/imports.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,10 @@ module.exports = {
'import/no-unresolved': [2, { commonjs: true }],

// ensures we follow a defined sort order
// https://github.com/jfmengels/eslint-plugin-import-order/blob/master/docs/rules/import-order.md
"import-order/import-order": [2, {
// https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/order.md
"import/order": [2, {
// include all ? : "builtin", "external", "parent", "sibling", "index"
"order": ["builtin", "external"]
"groups": ["builtin", "external"]
}],
},
};
3 changes: 0 additions & 3 deletions js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,4 @@ module.exports = {
'./react'
].map(require.resolve),
rules: {},
plugins: [
"import-order"
],
};
Loading

0 comments on commit c5b71d5

Please sign in to comment.