Skip to content

Commit 67d2ca2

Browse files
authored
chore: add troubleshooting page URL to circular fixes warning message (#21429)
1 parent cb2b9d4 commit 67d2ca2

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎lib/services/warning-service.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class WarningService {
3131
*/
3232
emitCircularFixesWarning(filename) {
3333
this.emitWarning(
34-
`Circular fixes detected while fixing ${filename}. It is likely that you have conflicting rules in your configuration.`,
34+
`Circular fixes detected while fixing ${filename}. It is likely that you have conflicting rules in your configuration. For more information, visit https://eslint.org/docs/latest/use/troubleshooting/circular-fixes`,
3535
"ESLintCircularFixesWarning",
3636
);
3737
}

‎tests/lib/services/warning-service.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ describe("WarningService", () => {
4141

4242
assert(
4343
process.emitWarning.calledOnceWithExactly(
44-
`Circular fixes detected while fixing ${filename}. It is likely that you have conflicting rules in your configuration.`,
44+
`Circular fixes detected while fixing ${filename}. It is likely that you have conflicting rules in your configuration. For more information, visit https://eslint.org/docs/latest/use/troubleshooting/circular-fixes`,
4545
"ESLintCircularFixesWarning",
4646
),
4747
"Expected process.emitWarning to be called with the correct arguments",

0 commit comments

Comments
 (0)