Skip to content

Commit

Permalink
build(lint): add ESLint
Browse files Browse the repository at this point in the history
  • Loading branch information
justunsix committed Jan 28, 2025
1 parent f2797f6 commit 8a01619
Show file tree
Hide file tree
Showing 3 changed files with 1,783 additions and 0 deletions.
19 changes: 19 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import pluginJs from "@eslint/js";
import globals from "globals";

export default [
pluginJs.configs.recommended,

{
rules: {
"no-unused-vars": "warn",
"no-undef": "warn",
},
languageOptions: {
globals: {
...globals.browser,
},
},
},
];

Loading

0 comments on commit 8a01619

Please sign in to comment.