We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 760ffd7 commit 6ebc460Copy full SHA for 6ebc460
.eslintrc.json
eslint.config.mjs
@@ -0,0 +1,24 @@
1
+import eslint from '@eslint/js'
2
+import globals from 'globals'
3
+
4
+export default [
5
+ eslint.configs.recommended,
6
+ {
7
+ languageOptions: {
8
+ // necessary for top-level await
9
+ ecmaVersion: 2022,
10
+ globals: globals.node,
11
+ },
12
+ rules: {
13
+ 'no-unused-vars': [
14
+ 'warn',
15
16
+ vars: 'all',
17
+ args: 'none',
18
+ ignoreRestSiblings: false
19
20
+ ],
21
+ 'no-irregular-whitespace': 'off',
22
23
24
+]
package.json
@@ -66,7 +66,7 @@
66
"devDependencies": {
67
"@yao-pkg/pkg": "^6.6.0",
68
"csv-parser": "^3.0.0",
69
- "eslint": "^8.33.0",
+ "eslint": "^9.36.0",
70
"sample-gtfs-feed": "^0.13.0",
71
"tinybench": "^5.1.0"
72
},
0 commit comments