Skip to content

Commit 03f65ed

Browse files
committed
Generate eslint config
1 parent 1d0a01e commit 03f65ed

File tree

3 files changed

+39
-32
lines changed

3 files changed

+39
-32
lines changed

eslint.config.mjs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import globals from "globals";
2+
3+
4+
export default [
5+
{files: ["**/*.js"], languageOptions: {sourceType: "commonjs"}},
6+
{languageOptions: { globals: globals.browser }},
7+
];

package-lock.json

Lines changed: 31 additions & 31 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
},
3131
"devDependencies": {
3232
"@vercel/ncc": "^0.38.1",
33-
"eslint": "^9.2.0",
33+
"eslint": "^9.3.0",
3434
"jest": "^29.7.0"
3535
}
3636
}

0 commit comments

Comments
 (0)