Fix broken rule reference link import/first

This commit is contained in:
Pete Pirasis
2016-10-27 03:04:31 +07:00
committed by Jordan Harband
parent 24b8f35f18
commit 97575b2087

View File

@@ -1239,7 +1239,7 @@ Other Style Guides
<a name="modules--imports-first"></a>
- [10.7](#modules--imports-first) Put all `import`s above non-import statements.
eslint: [`import/imports-first`](https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/imports-first.md)
eslint: [`import/first`](https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/first.md)
> Why? Since `import`s are hoisted, keeping them all at the top prevents surprising behavior.
```javascript