build(npm): add linters and formatters

This commit is contained in:
Ben Goldsworthy 2025-01-13 00:58:10 +01:00
parent 9f25118fb4
commit 822d18a381
No known key found for this signature in database
4 changed files with 1692 additions and 31 deletions

12
eslint.config.js Normal file
View file

@ -0,0 +1,12 @@
import pluginJs from "@eslint/js";
import globals from "globals";
export default [
pluginJs.configs.recommended,
{
languageOptions: { globals: globals.browser },
},
{
ignores: ["public/", "public-dev/"],
},
];