Skip to content

Commit 4c8be30

Browse files
committed
(#601): Fixed default order for the order rule
1 parent 5a6c38d commit 4c8be30

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
44
This change log adheres to standards from [Keep a CHANGELOG](http://keepachangelog.com).
55

66
## [Unreleased]
7-
7+
### Fixed
8+
- Fixed default order for the [`order`] rule ([#601])
89

910
## [2.0.0]! - 2016-09-30
1011
### Added
@@ -25,7 +26,7 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel
2526
### Changed
2627
- `imports-first` is renamed to [`first`]. `imports-first` alias will continue to
2728
exist, but may be removed in a future major release.
28-
- Case-sensitivity: now specifically (and optionally) reported by [`no-unresolved`].
29+
- Case-sensitivity: now specifically (and optionally) reported by [`no-unresolved`].
2930
Other rules will ignore case-mismatches on paths on case-insensitive filesystems. ([#311])
3031

3132
### Fixed
@@ -395,6 +396,7 @@ for info on changes for earlier releases.
395396
[#157]: https://github.com/benmosher/eslint-plugin-import/pull/157
396397
[#314]: https://github.com/benmosher/eslint-plugin-import/pull/314
397398

399+
[#601]: https://github.com/benmosher/eslint-plugin-import/issues/601
398400
[#577]: https://github.com/benmosher/eslint-plugin-import/issues/577
399401
[#570]: https://github.com/benmosher/eslint-plugin-import/issues/570
400402
[#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)