Skip to content

Commit 9634412

Browse files
Apply suggestions from code review
Thanks @davidlehn Co-authored-by: David I. Lehn <[email protected]>
1 parent baff14f commit 9634412

File tree

4 files changed

+8
-11
lines changed

4 files changed

+8
-11
lines changed

.eslintrc.cjs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
module.exports = {
22
root: true,
3-
parserOptions: {
4-
// this is required for dynamic import() and top-level await
5-
ecmaVersion: 2022,
6-
sourceType: 'module'
7-
},
83
env: {
94
node: true
105
},

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
.cache/
22
node_modules/
33
package-lock.json
4+
*.sw[nop]
5+
*~

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ Browse the [W3C API](https://api.w3.org/doc) in your browser!
66

77
```sh
88
$ npm i
9-
$ npm run server
10-
$ # Listening on http://localhost:8080
9+
$ npm start
10+
Listening on http://localhost:8080
1111
```
1212

1313
## License

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
"type": "module",
66
"main": "index.js",
77
"scripts": {
8-
"serve": "node index.js",
8+
"start": "node index.js",
99
"test": "echo \"Error: no test specified\" && exit 1",
10-
"lint": "eslint \"**/*.{js,cjs}\""
10+
"lint": "eslint --ext .cjs,.js ."
1111
},
1212
"keywords": [
1313
"w3c",
@@ -21,7 +21,7 @@
2121
"@curveball/browser": "^1.1.1",
2222
"@curveball/core": "^1.0.0",
2323
"@curveball/validator": "^1.0.0",
24-
"eslint": "^8.45.0",
25-
"eslint-config-digitalbazaar": "^5.0.1"
24+
"eslint": "^8.57.0",
25+
"eslint-config-digitalbazaar": "^5.2.0"
2626
}
2727
}

0 commit comments

Comments
 (0)