Add formatting/linting CI (#18)

This commit is contained in:
sepro
2025-10-23 21:24:31 +02:00
committed by GitHub
parent 52a4f9d19a
commit b57ce18965
12 changed files with 153 additions and 44 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.node },
},
tseslint.configs.recommended,
]);