Skip to content

Commit d326f1b

Browse files
committed
(#601): Fixed default order for the order rule
1 parent 404f506 commit d326f1b

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel
66
## [Unreleased]
77
### Fixed
88
- Fixed code that relied on removed dependencies. ([#604])
9+
- Fixed default order for the [`order`] rule ([#601])
910

1011
## [2.0.0]! - 2016-09-30
1112
### Added
@@ -397,6 +398,7 @@ for info on changes for earlier releases.
397398
[#314]: https://github.com/benmosher/eslint-plugin-import/pull/314
398399

399400
[#604]: https://github.com/benmosher/eslint-plugin-import/issues/604
401+
[#601]: https://github.com/benmosher/eslint-plugin-import/issues/601
400402
[#577]: https://github.com/benmosher/eslint-plugin-import/issues/577
401403
[#570]: https://github.com/benmosher/eslint-plugin-import/issues/570
402404
[#567]: https://github.com/benmosher/eslint-plugin-import/issues/567

src/rules/order.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import importType from '../core/importType'
44
import isStaticRequire from '../core/staticRequire'
55

6-
const defaultGroups = ['builtin', 'external', 'parent', 'sibling', 'index']
6+
const defaultGroups = ['builtin', 'external', 'internal', 'parent', 'sibling', 'index']
77

88
// REPORTING
99

0 commit comments

Comments
 (0)