chore: add/configure eslint

This commit is contained in:
2026-01-10 09:07:15 -03:00
parent 610611e1d9
commit 24f121f1ad
3 changed files with 1450 additions and 2 deletions
+9
View File
@@ -0,0 +1,9 @@
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,
]);