From f4827c273195a5c324f3d8c36f1a90ec245e9a5c Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Fri, 31 Jul 2026 23:37:51 +0000 Subject: [PATCH] add ingore paths for web component linters --- Makefile | 1 + dev_config/.htmlvalidateignore | 3 +++ dev_config/.stylelintignore | 3 +++ dev_config/eslint.config.mjs | 3 ++- 4 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 dev_config/.htmlvalidateignore create mode 100644 dev_config/.stylelintignore diff --git a/Makefile b/Makefile index 3e3d076..0289490 100644 --- a/Makefile +++ b/Makefile @@ -24,3 +24,4 @@ ensure-dist: mkdir -p dist workflow-init: ensure-dist build-web + cp -r dev_config . \ No newline at end of file diff --git a/dev_config/.htmlvalidateignore b/dev_config/.htmlvalidateignore new file mode 100644 index 0000000..7f0cc41 --- /dev/null +++ b/dev_config/.htmlvalidateignore @@ -0,0 +1,3 @@ +web/modules/* +WFA-JS/* +dist/* \ No newline at end of file diff --git a/dev_config/.stylelintignore b/dev_config/.stylelintignore new file mode 100644 index 0000000..7f0cc41 --- /dev/null +++ b/dev_config/.stylelintignore @@ -0,0 +1,3 @@ +web/modules/* +WFA-JS/* +dist/* \ No newline at end of file diff --git a/dev_config/eslint.config.mjs b/dev_config/eslint.config.mjs index 2c4095d..63a55e2 100644 --- a/dev_config/eslint.config.mjs +++ b/dev_config/eslint.config.mjs @@ -1,9 +1,10 @@ -import { defineConfig } from "eslint/config"; +import { defineConfig, globalIgnores } from "eslint/config"; import globals from "globals"; import js from "@eslint/js"; export default defineConfig([ js.configs.recommended, + globalIgnores(["dist/", "web/modules", "WFA-JS"]), { languageOptions: { globals: {