eslint: fix global ignore for dist/

This commit is contained in:
Simon Ser 2024-09-28 21:57:35 +02:00
parent a03ad28438
commit 312c755c11

View file

@ -2,9 +2,11 @@ import globals from "globals";
import js from "@eslint/js"; import js from "@eslint/js";
export default [ export default [
js.configs.recommended,
{ {
ignores: ["dist/"], ignores: ["dist/"],
},
js.configs.recommended,
{
languageOptions: { languageOptions: {
globals: { globals: {
...globals.browser, ...globals.browser,