Skip to content

Commit 3b2ad1f

Browse files
committed
Upgrade eslint; reconfig; tweak code.
1 parent 9634412 commit 3b2ad1f

File tree

4 files changed

+10
-14
lines changed

4 files changed

+10
-14
lines changed

.eslintrc.cjs

Lines changed: 0 additions & 10 deletions
This file was deleted.

byEditor.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ const apiBaseUrl = 'https://api.w3.org';
1212
const editorId = 'hhvask30a7co0gs0gcsgosgkowws0k4';
1313

1414
const specs = await EleventyFetch(
15-
// eslint-disable-next-line max-len
1615
`${apiBaseUrl}/users/${editorId}/specifications?embed=true`,
1716
{
1817
duration: '1d',

eslint.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import config from '@digitalbazaar/eslint-config/node-recommended';
2+
3+
export default [
4+
...config
5+
];

package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@
2020
"@11ty/eleventy-fetch": "^4.0.1",
2121
"@curveball/browser": "^1.1.1",
2222
"@curveball/core": "^1.0.0",
23-
"@curveball/validator": "^1.0.0",
24-
"eslint": "^8.57.0",
25-
"eslint-config-digitalbazaar": "^5.2.0"
23+
"@curveball/validator": "^1.0.0"
24+
},
25+
"devDependencies": {
26+
"@digitalbazaar/eslint-config": "^7.0.0",
27+
"eslint": "^9.39.1"
2628
}
2729
}

0 commit comments

Comments
 (0)