Skip to content

Commit

Permalink
update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
n2geoff committed Jun 16, 2024
1 parent efa77cf commit a6948f9
Show file tree
Hide file tree
Showing 7 changed files with 193 additions and 253 deletions.
15 changes: 0 additions & 15 deletions .eslintrc.json

This file was deleted.

10 changes: 5 additions & 5 deletions dist/testit.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/testit.min.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 26 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import globals from "globals";
import path from "node:path";
import { fileURLToPath } from "node:url";
import js from "@eslint/js";
import { FlatCompat } from "@eslint/eslintrc";

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const compat = new FlatCompat({
baseDirectory: __dirname,
recommendedConfig: js.configs.recommended,
allConfig: js.configs.all
});

export default [...compat.extends("eslint:recommended"), {
languageOptions: {
globals: {
...globals.browser,
},

ecmaVersion: "latest",
sourceType: "module",
},

rules: {},
}];
Loading

0 comments on commit a6948f9

Please sign in to comment.