Fix ESLint: add browser globals (document, window, console)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Serreau Jovann
2026-03-19 00:08:29 +01:00
parent 5028afd3a5
commit 63c6ba5470

View File

@@ -1,6 +1,13 @@
export default [
{
files: ["assets/**/*.js"],
languageOptions: {
globals: {
document: "readonly",
window: "readonly",
console: "readonly",
},
},
rules: {
"no-unused-vars": "warn",
"no-undef": "error",