Skip to content

Commit

Permalink
Merge pull request #1065 from sharmilajesupaul/minor-typo-fix
Browse files Browse the repository at this point in the history
minor typo in import/no-cycle rule docs
  • Loading branch information
ljharb committed Apr 6, 2018
2 parents ee15fa4 + f13f18e commit 80d1ceb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/no-cycle.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ cycles created by `require` within imported modules may not be detected.
There is a `maxDepth` option available to prevent full expansion of very deep dependency trees:

```js
/*eslint import/no-unresolved: [2, { maxDepth: 1 }]*/
/*eslint import/no-cycle: [2, { maxDepth: 1 }]*/

// dep-c.js
import './dep-a.js'
Expand Down

0 comments on commit 80d1ceb

Please sign in to comment.