diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index b27e50c..d563907 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -25,6 +25,10 @@ jobs: with: name: trevstack authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' + + - name: Install NPM Packages + working-directory: ./client + run: npm ci --legacy-peer-deps - name: Lint run: nix develop --command ts-lint \ No newline at end of file diff --git a/flake.nix b/flake.nix index 32d2d5c..ddb8c96 100644 --- a/flake.nix +++ b/flake.nix @@ -83,8 +83,6 @@ # Svelte frontend nodejs_22 - eslint - nodePackages.prettier # Helper scripts (writeShellApplication { @@ -193,8 +191,8 @@ cd "''${git_root}/client" echo "Linting client" - prettier --check . - eslint . + npm run check + npm run lint cd "''${git_root}/server" echo "Linting server"