Skip to content

Commit a672910

Browse files
Merge pull request #2 from garydavisonos/task/gd/eslint
Adding eslint
2 parents 5a79e2c + 4060188 commit a672910

File tree

4 files changed

+1020
-2
lines changed

4 files changed

+1020
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

eslint.config.mjs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import globals from "globals";
2+
import pluginJs from "@eslint/js";
3+
4+
5+
/** @type {import('eslint').Linter.Config[]} */
6+
export default [
7+
{languageOptions: { globals: globals.browser }},
8+
pluginJs.configs.recommended,
9+
];

0 commit comments

Comments
 (0)