update gitignore, format eslint config

This commit is contained in:
alu
2026-07-31 23:30:32 +00:00
parent ff63d8dc15
commit 91be26e320
2 changed files with 27 additions and 26 deletions
-2
View File
@@ -1,5 +1,3 @@
**/config.json
**/package-lock.json
**/node_modules
dist/*
go.sum
+5 -2
View File
@@ -2,7 +2,9 @@ import { defineConfig } from "eslint/config";
import globals from "globals";
import js from "@eslint/js";
export default defineConfig([js.configs.recommended,{
export default defineConfig([
js.configs.recommended,
{
languageOptions: {
globals: {
...globals.browser,
@@ -26,4 +28,5 @@ export default defineConfig([js.configs.recommended,{
}],
"prefer-const": ["error"]
},
}]);
}
]);