Skip to content

Commit 4a39693

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

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Diff for: CHANGELOG.md

+4-2
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

Diff for: src/rules/order.js

+1-1
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)