Add nodejs + eslint
This commit is contained in:
parent
c6a8a7c34e
commit
5711419229
|
@ -8,6 +8,7 @@
|
|||
../shell/default.nix
|
||||
./python/default.nix
|
||||
./lua/default.nix
|
||||
./javascript/default.nix
|
||||
];
|
||||
services.emacs = {
|
||||
enable = true;
|
||||
|
@ -102,6 +103,7 @@
|
|||
flymake-popon
|
||||
flymake-shellcheck
|
||||
flymake-yamllint
|
||||
flymake-eslint
|
||||
apheleia
|
||||
envrc
|
||||
rainbow-delimiters
|
||||
|
@ -173,6 +175,7 @@
|
|||
## Linters
|
||||
shellcheck
|
||||
yamllint
|
||||
nodePackages.eslint
|
||||
|
||||
## Formatters
|
||||
alejandra
|
||||
|
|
4
programs/emacs/javascript/default.nix
Normal file
4
programs/emacs/javascript/default.nix
Normal file
|
@ -0,0 +1,4 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = with pkgs;
|
||||
with nodePackages; [nodejs];
|
||||
}
|
Reference in a new issue