feat: add ESLint configuration, update package.json scripts, and create example files for Bun integration

This commit is contained in:
2025-08-20 13:20:59 -04:00
parent 15a6f1ac81
commit b12aef225a
24 changed files with 464 additions and 128 deletions

9
eslint.config.ts Normal file
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, ...globals.node} } },
tseslint.configs.recommended,
]);