mirror of
https://github.com/airbnb/javascript.git
synced 2026-04-25 03:00:19 -04:00
[guide] Add link to eslint rule for https://github.com/airbnb/javascript#modules--multiline-imports-over-newlines
This commit is contained in:
committed by
Jordan Harband
parent
717ba5187a
commit
e6e6414c97
@@ -1410,6 +1410,7 @@ Other Style Guides
|
||||
|
||||
<a name="modules--multiline-imports-over-newlines"></a>
|
||||
- [10.8](#modules--multiline-imports-over-newlines) Multiline imports should be indented just like multiline array and object literals.
|
||||
eslint: [`object-curly-newline`](https://eslint.org/docs/rules/object-curly-newline)
|
||||
|
||||
> Why? The curly braces follow the same indentation rules as every other curly brace block in the style guide, as do the trailing commas.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user