-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #62 from DataChefHQ/fix/nodejs-template
fix: NodeJs template
- Loading branch information
Showing
4 changed files
with
19 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,23 @@ | ||
{% extends pathjoin("includes", "base.nix.jinja") %} | ||
|
||
{% block languages %} | ||
rust = { | ||
enable = true; | ||
|
||
# https://devenv.sh/reference/options/#languagesrustchannel | ||
channel = "nightly"; | ||
{% block packages %} | ||
pkgs.nodePackages.vscode-langservers-extracted | ||
pkgs.nodePackages.typescript-language-server | ||
{% endblock %} | ||
|
||
components = [ | ||
"rustc" | ||
"cargo" | ||
"clippy" | ||
"rustfmt" | ||
"rust-analyzer" | ||
]; | ||
}; | ||
{% block languages %} | ||
javascript.enable = true; | ||
javascript.npm = { | ||
enable = true; | ||
install.enable = true; | ||
}; | ||
typescript.enable = true; | ||
{% endblock %} | ||
|
||
{% block hooks %} | ||
editorconfig-checker.enable = true; | ||
prettier.enable = true; | ||
editorconfig-checker.enable = true; | ||
eslint = { | ||
enable = true; | ||
}; | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{% include pathjoin("includes", "devenv.rust.yaml") %} | ||
{% include pathjoin("includes", "devenv.yaml") %} |