diff --git a/CHANGELOG.md b/CHANGELOG.md index 06e170cd7f..f793dd89fb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel ## [Unreleased] ### Fixed - Fixed code that relied on removed dependencies. ([#604]) +- Fixed default order for the [`order`] rule ([#601]) ## [2.0.0]! - 2016-09-30 ### Added @@ -397,6 +398,7 @@ for info on changes for earlier releases. [#314]: https://github.com/benmosher/eslint-plugin-import/pull/314 [#604]: https://github.com/benmosher/eslint-plugin-import/issues/604 +[#601]: https://github.com/benmosher/eslint-plugin-import/issues/601 [#577]: https://github.com/benmosher/eslint-plugin-import/issues/577 [#570]: https://github.com/benmosher/eslint-plugin-import/issues/570 [#567]: https://github.com/benmosher/eslint-plugin-import/issues/567 diff --git a/src/rules/order.js b/src/rules/order.js index da4cae1aeb..02a933932b 100644 --- a/src/rules/order.js +++ b/src/rules/order.js @@ -3,7 +3,7 @@ import importType from '../core/importType' import isStaticRequire from '../core/staticRequire' -const defaultGroups = ['builtin', 'external', 'parent', 'sibling', 'index'] +const defaultGroups = ['builtin', 'external', 'internal', 'parent', 'sibling', 'index'] // REPORTING