Add nodejs + eslint

This commit is contained in:
Evie Litherland-Smith 2024-06-25 07:31:17 +01:00
parent c6a8a7c34e
commit 5711419229
2 changed files with 7 additions and 0 deletions

View file

@ -8,6 +8,7 @@
../shell/default.nix ../shell/default.nix
./python/default.nix ./python/default.nix
./lua/default.nix ./lua/default.nix
./javascript/default.nix
]; ];
services.emacs = { services.emacs = {
enable = true; enable = true;
@ -102,6 +103,7 @@
flymake-popon flymake-popon
flymake-shellcheck flymake-shellcheck
flymake-yamllint flymake-yamllint
flymake-eslint
apheleia apheleia
envrc envrc
rainbow-delimiters rainbow-delimiters
@ -173,6 +175,7 @@
## Linters ## Linters
shellcheck shellcheck
yamllint yamllint
nodePackages.eslint
## Formatters ## Formatters
alejandra alejandra

View file

@ -0,0 +1,4 @@
{pkgs, ...}: {
home.packages = with pkgs;
with nodePackages; [nodejs];
}