We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 80d1ceb + 19fc3df commit d8077c8Copy full SHA for d8077c8
1 file changed
src/rules/no-cycle.js
@@ -22,7 +22,7 @@ module.exports = {
22
23
create: function (context) {
24
const myPath = context.getFilename()
25
- if (myPath === '<text>') return // can't cycle-check a non-file
+ if (myPath === '<text>') return {} // can't cycle-check a non-file
26
27
const options = context.options[0] || {}
28
const maxDepth = options.maxDepth || Infinity
0 commit comments