Skip to content

Commit cb7b7cf

Browse files
Update code per review
Update ESLint config Remove ESLint Disable comment Add Node 20 to CI script
1 parent fb9bc2c commit cb7b7cf

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
strategy:
1515
matrix:
16-
node-version: [22.x, 24.x, 25.x]
16+
node-version: [20.x, 22.x, 24.x, 25.x]
1717

1818
steps:
1919
- uses: actions/checkout@v2

eslint.config.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ export default defineConfig([
2626
"no-unused-vars": [
2727
2,
2828
{
29-
"args": "none"
29+
"args": "none",
30+
"caughtErrors": "none"
3031
}
3132
],
3233
"semi": [

src/js.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ let custom_inspect_symbol;
8686
if (typeof process !== "undefined") {
8787
try { /* for node.js */
8888
custom_inspect_symbol = require('util').inspect.custom;
89-
} catch (e) {} // eslint-disable-line no-unused-vars
89+
} catch (e) {}
9090
}
9191

9292
const global_env = (function(Object) {

0 commit comments

Comments
 (0)