From 0d86a3c0a9f8f74027b345607d95493234b95fc9 Mon Sep 17 00:00:00 2001 From: Chip Wolf Date: Mon, 18 May 2026 13:45:46 +0100 Subject: [PATCH] fix(lint): exclude vendored rtk.ts from ts-standard home/dot_config/opencode/plugins/rtk.ts is vendored from https://github.com/rtk-ai/rtk and explicitly marked "Keep in sync with upstream; do not modify locally". Local style fixes would defeat that, so exclude the file from ts-standard. --- .mega-linter.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.mega-linter.yml b/.mega-linter.yml index 5ef26ea..b959d19 100644 --- a/.mega-linter.yml +++ b/.mega-linter.yml @@ -13,4 +13,8 @@ LUA_LUACHECK_ARGUMENTS: "--globals vim" CSS_STYLELINT_FILTER_REGEX_EXCLUDE: "(yasb/styles\\.css)" +# rtk.ts is vendored from https://github.com/rtk-ai/rtk and must not be modified +# locally (see header comment in the file). Exclude it from ts-standard. +TYPESCRIPT_STANDARD_FILTER_REGEX_EXCLUDE: "(home/dot_config/opencode/plugins/rtk\\.ts)" + REPOSITORY_KICS_ARGUMENTS: "--exclude-paths .github/workflows/e2e-install.yml"