Add nodejs + eslint
This commit is contained in:
parent
c6a8a7c34e
commit
5711419229
|
@ -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
|
||||||
|
|
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