Skip to content

Commit

Permalink
fix: relax sort-imports rule
Browse files Browse the repository at this point in the history
The sort-imports rule is a bit too simplistic - as it only
enforces alphabetical sorting, and there are better semantics
to be had sorting imports by, for example, third-party followed
by local imports.
  • Loading branch information
keithamus committed Apr 7, 2016
1 parent 336c321 commit e9f3388
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion es5.js
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ module.exports = {
// sort variables within the same declaration block
'sort-vars': 0,
// sort import declarations within module
'sort-imports': 2,
'sort-imports': 0,
// require or disallow space before blocks
'space-before-blocks': [
2,
Expand Down

0 comments on commit e9f3388

Please sign in to comment.