-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* style(*various*): Annotate when exceptions are caught but ignored There's an existing convertion to name intentionally ignored errors in catch block as `ignore`. Modified codebase to follow it. Fixes #3354 * style(bin/options.js): Turn off prettier for single line Prettier reformatting is just wrong here. fs.readFileSync() should **not** be split across multiple lines. * Revert "style(bin/options.js): Turn off prettier for single line" This reverts commit eb034dd. * style(bin/options.js): Revert un-Prettier comment per Boneskull's request
- Loading branch information
Showing
5 changed files
with
18 additions
and
11 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,12 @@ | ||
{ | ||
"linters": { | ||
"(bin/*|**/*.js)": [ | ||
"prettier-eslint --write", | ||
"git add" | ||
] | ||
}, | ||
"ignore": [ | ||
"docs/**/*.js", | ||
"test/**/*.fixture.js" | ||
] | ||
} |
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
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