we are linting.

This commit is contained in:
2025-11-08 21:06:55 -05:00
parent 7aa25ed95c
commit 7cf4a47a60
3 changed files with 109 additions and 171 deletions

8
eslint.config.mjs Normal file
View File

@@ -0,0 +1,8 @@
import globals from "globals";
import js from "@eslint/js";
import { defineConfig } from "eslint/config";
export default defineConfig([
{ files: ["**/*.js"], plugins: { js }, extends: ["js/recommended"], languageOptions: { sourceType: "commonjs" } },
{ files: ["**/*.{js,mjs,cjs}"], languageOptions: { globals: globals.node } }
]);