Skip to content

Commit a94533c

Browse files
committed
chore: upgrade eslint
1 parent 74c967e commit a94533c

File tree

4 files changed

+318
-335
lines changed

4 files changed

+318
-335
lines changed

.eslintrc.js

Lines changed: 0 additions & 13 deletions
This file was deleted.

eslint.config.mjs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import globals from 'globals';
2+
import js from "@eslint/js";
3+
import { defineConfig } from "eslint/config";
4+
5+
export default defineConfig([
6+
{
7+
files: ["**/*.js"],
8+
plugins: {
9+
js,
10+
},
11+
extends: ["js/recommended"],
12+
languageOptions: {
13+
globals: globals.browser
14+
}
15+
}
16+
]);

0 commit comments

Comments
 (0)