-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: fail if eslint is not properly configured or installed instead o…
…f ignoring the errors
- Loading branch information
Showing
3 changed files
with
34 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
'refactor-bot': patch | ||
--- | ||
|
||
fix: fail if eslint is not properly configured or installed instead of ignoring | ||
the errors | ||
|
||
If eslint is not properly configured or installed, the refactor bot would ignore | ||
the errors because it would fail to analyze `stderr` of the `eslint` command. | ||
|
||
It now properly fails with a message that explains the problem. | ||
|
||
This should lead to better outcomes when configuring the refactor bot for the | ||
first time. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters