Skip to content

Commit

Permalink
chore(workspace): exclude node_modules from nix formatter and linte…
Browse files Browse the repository at this point in the history
…r package
  • Loading branch information
dominicegginton committed Jan 31, 2024
1 parent d836102 commit d523fb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
runtimeInputs = with pkgs; [alejandra] ++ buildInputs;
text = ''
${copyNodeModules}
alejandra --exclude node_modules .
alejandra --exclude ./node_modules .
npx nx format:write
npx nx run-many --target=lint:fix,fmt
'';
Expand Down Expand Up @@ -156,7 +156,7 @@
runtimeInputs = with pkgs; [alejandra] ++ buildInputs;
text = ''
${copyNodeModules}
alejandra --check --exclude node_modules .
alejandra --check --exclude ./node_modules .
npx nx format:check
npx nx run-many --target=lint
'';
Expand Down

0 comments on commit d523fb3

Please sign in to comment.