fix: rely entirely on nix packages
This commit is contained in:
parent
add5afb17c
commit
645faf398e
8
.github/workflows/lint.yml
vendored
8
.github/workflows/lint.yml
vendored
@ -28,14 +28,6 @@ jobs:
|
||||
purge-prefixes: nix-${{ runner.os }}-
|
||||
purge-created: 0
|
||||
purge-primary-key: never
|
||||
paths: |
|
||||
~/.cache/go-build
|
||||
~/go/pkg/mod
|
||||
~/.npm
|
||||
|
||||
- name: Install npm packages
|
||||
working-directory: ./client
|
||||
run: npm ci --legacy-peer-deps
|
||||
|
||||
- name: Lint
|
||||
run: nix develop --command ts-lint
|
@ -72,6 +72,9 @@
|
||||
|
||||
# Svelte frontend
|
||||
nodejs_22
|
||||
eslint
|
||||
nodePackages.svelte-check
|
||||
nodePackages.prettier
|
||||
|
||||
# Helper scripts
|
||||
(writeShellApplication {
|
||||
@ -180,8 +183,9 @@
|
||||
|
||||
cd "''${git_root}/client"
|
||||
echo "Linting client"
|
||||
npm run check
|
||||
npm run lint
|
||||
svelte-check --tsconfig ./tsconfig.json
|
||||
prettier --check .
|
||||
eslint .
|
||||
|
||||
cd "''${git_root}/server"
|
||||
echo "Linting server"
|
||||
|
Loading…
x
Reference in New Issue
Block a user