init: add code

This commit is contained in:
Xory 2026-01-30 17:06:54 +02:00
parent 475596444a
commit 1e09c02cb9
20 changed files with 2432 additions and 147 deletions

11
eslint.config.ts Normal file
View file

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