chore: add ESLint and update deps

This commit is contained in:
aki
2025-04-07 03:25:28 +08:00
parent 99a2bc20de
commit 2eff273486
3 changed files with 1559 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
import { defineConfig } from "eslint/config";
import globals from "globals";
import js from "@eslint/js";
import tseslint from "typescript-eslint";
export default defineConfig([
{ files: ["**/*.{js,mjs,cjs,ts}"] },
{ files: ["**/*.{js,mjs,cjs,ts}"], languageOptions: { globals: globals.browser } },
{ files: ["**/*.{js,mjs,cjs,ts}"], plugins: { js }, extends: ["js/recommended"] },
tseslint.configs.recommended,
]);