Keep root lint checks out of desktop/

ESLint picks up desktop's own config for its files, which only works
with desktop's dependencies installed. Desktop is linted by its own
`scripts/check-js`.
This commit is contained in:
Rūdolfs Ošiņš
2026-10-13 16:53:36 +02:00
parent 33182fd942
commit e5e79605d6
3 changed files with 6 additions and 1 deletions
+2
View File
@@ -11,3 +11,5 @@ radicle-httpd/target
radicle-search/target
target
.wrangler
# The desktop app, with its own node_modules and target, isn't part of these images.
desktop
+1
View File
@@ -1 +1,2 @@
radicle-httpd
desktop
+3 -1
View File
@@ -8,5 +8,7 @@ npx svelte-check --tsconfig tsconfig.json --config ./vite.config.ts --fail-on-wa
# CI can then carry them between builds. They share one directory because a
# Buildkite cache path is always a directory, never a file.
mkdir -p .lintcache
npx eslint --cache --cache-location .lintcache/eslint --cache-strategy content --max-warnings 0 .
# desktop/ has its own eslint config, which eslint would otherwise pick up for
# its files. It is linted by desktop/scripts/check-js.
npx eslint --cache --cache-location .lintcache/eslint --cache-strategy content --max-warnings 0 --ignore-pattern desktop/ .
npx prettier "**/*.@(ts|js|svelte|json|css|html|yml)" --ignore-path .gitignore --ignore-path .prettierignore --check --cache --cache-location .lintcache/prettier