Skip to content

Commit

Permalink
refactor: #158 remove no-useless-catch eslint rule (#178)
Browse files Browse the repository at this point in the history
* refactor: #158 configure no-unreachable eslint rule

* refactor: #158 remove no-useless-catch eslint rule
  • Loading branch information
miquelbeltran committed May 6, 2024
1 parent 49535c5 commit 93b0df5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ export default tseslint.config(
],
// Required to import JS modules
"@typescript-eslint/no-var-requires": "off",
// TODO: Remove ignored rules and fix the code
"no-useless-catch": "off",
}
}
);
4 changes: 0 additions & 4 deletions test/raygun_express_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ test("batch reporting errors", async function (t) {

try {
await nextBatchRequest({ maxWait: 2000 });
} catch (e) {
throw e;
} finally {
stop();
}
Expand All @@ -68,8 +66,6 @@ test("batch transport discards massive errors", async function (t) {

try {
await nextBatchRequest({ maxWait: 2000 });
} catch (e) {
throw e;
} finally {
stop();
}
Expand Down

0 comments on commit 93b0df5

Please sign in to comment.