Add Eslint and Prettier

This commit is contained in:
2026-03-01 13:21:58 +01:00
parent 89e7e914f6
commit 5d9d26d22c
5 changed files with 923 additions and 123 deletions

14
eslint.config.js Normal file
View File

@@ -0,0 +1,14 @@
import js from "@eslint/js";
import globals from "globals";
import tseslint from "typescript-eslint";
import { defineConfig } from "eslint/config";
export default defineConfig([
{
files: ["**/*.{js,mjs,cjs,ts,mts,cts}"],
plugins: { js },
extends: ["js/recommended"],
languageOptions: { globals: globals.browser },
},
tseslint.configs.recommended,
]);