Skip to content

Commit

Permalink
introducing eslint to check syntax and fix problems
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacobojijo committed Jul 18, 2024
1 parent 358d057 commit 3f9f3cf
Show file tree
Hide file tree
Showing 3 changed files with 1,220 additions and 6 deletions.
9 changes: 9 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import globals from "globals";
import pluginJs from "@eslint/js";


export default [
{files: ["**/*.js"], languageOptions: {sourceType: "commonjs"}},
{languageOptions: { globals: globals.browser }},
pluginJs.configs.recommended,
];
Loading

0 comments on commit 3f9f3cf

Please sign in to comment.