diff --git a/scripts/check-design-tokens.mjs b/scripts/check-design-tokens.mjs index 85d6d865..cef9cd51 100755 --- a/scripts/check-design-tokens.mjs +++ b/scripts/check-design-tokens.mjs @@ -11,7 +11,7 @@ const repoRoot = path.resolve(__dirname, ".."); const TARGET_DIRECTORIES = ["js/ui", "torrent/ui"]; const TARGET_FILES = ["js/channelProfile.js", "css/tailwind.source.css"]; -const IGNORED_DIRECTORIES = new Set(["dist", "vendor"]); +const IGNORED_DIRECTORIES = new Set(["dist", "vendor", "bitvid-working-webtorrent"]); const IGNORED_EXTENSIONS = new Set([".min.js", ".map"]); const ALLOWED_FILES = new Set([ "js/ui/components/RevertModal.js", diff --git a/scripts/check-hex.js b/scripts/check-hex.js index 33976245..f9c6892c 100755 --- a/scripts/check-hex.js +++ b/scripts/check-hex.js @@ -32,7 +32,8 @@ const IGNORED_GLOBS = [ 'tests/visual/embed-layout.spec.ts', 'ai/**', '**/*.ai', - 'releases/**' + 'releases/**', + 'bitvid-working-webtorrent/**' ]; const gitArgs = [ diff --git a/scripts/check-inline-styles.mjs b/scripts/check-inline-styles.mjs index 2ee3858a..2f21ba9f 100644 --- a/scripts/check-inline-styles.mjs +++ b/scripts/check-inline-styles.mjs @@ -26,6 +26,7 @@ const IGNORED_DIRS = new Set([ "logs", "playwright-report", "test-results", + "bitvid-working-webtorrent", ]); const DIST_SCAN_PREFIXES = new Set([ diff --git a/scripts/check-tailwind-colors.mjs b/scripts/check-tailwind-colors.mjs index ccee5a9e..79fe3216 100755 --- a/scripts/check-tailwind-colors.mjs +++ b/scripts/check-tailwind-colors.mjs @@ -10,7 +10,7 @@ const __dirname = path.dirname(__filename); const repoRoot = path.resolve(__dirname, ".."); const TARGET_DIRECTORIES = ["components", "js", "views"]; -const IGNORED_DIRECTORIES = new Set(["ed-legacy", "legacy", "__snapshots__"]); +const IGNORED_DIRECTORIES = new Set(["ed-legacy", "legacy", "__snapshots__", "bitvid-working-webtorrent"]); const LEGACY_ALLOWLIST = new Set([ "components/ed-/revert-video-modal.html", "components/ed-/profile-modal.html", diff --git a/stylelint.config.cjs b/stylelint.config.cjs index 00195a4e..4de8495d 100644 --- a/stylelint.config.cjs +++ b/stylelint.config.cjs @@ -5,7 +5,7 @@ const COLOR_MIX_PATTERN = /^color-mix\([\s\S]+\)$/; const NON_TOKEN_LENGTH_PATTERN = /^(?!.*var\().*\b\d*\.?\d+(?:px|rem)\b/; module.exports = { - ignoreFiles: ['css/tailwind.generated.css'], + ignoreFiles: ['css/tailwind.generated.css', 'bitvid-working-webtorrent/**'], rules: { 'at-rule-no-unknown': [true, { ignoreAtRules: ['tailwind', 'layer', 'apply'] }], 'import-notation': 'string',