mirror of
https://github.com/RGBCube/ncc
synced 2025-07-30 19:47:47 +00:00
Use prettier, and use clippy
This commit is contained in:
parent
fe7acc2ec4
commit
956bdbaa76
1 changed files with 68 additions and 1 deletions
|
@ -11,7 +11,69 @@
|
|||
|
||||
auto-format = false;
|
||||
formatter.command = "alejandra";
|
||||
formatter.args = [ "-" ];
|
||||
}
|
||||
{
|
||||
name = "markdown";
|
||||
|
||||
auto-format = true;
|
||||
formatter.command = "prettier";
|
||||
formatter.args = [ "--parser" "markdown"];
|
||||
}
|
||||
{
|
||||
name = "javascript";
|
||||
|
||||
auto-format = true;
|
||||
formatter.command = "prettier";
|
||||
formatter.args = [ "--parser" "javascript" ];
|
||||
}
|
||||
{
|
||||
name = "typescript";
|
||||
|
||||
auto-format = true;
|
||||
formatter.command = "prettier";
|
||||
formatter.args = [ "--parser" "typescript" ];
|
||||
}
|
||||
{
|
||||
name = "jsx";
|
||||
|
||||
auto-format = true;
|
||||
formatter.command = "prettier";
|
||||
formatter.args = [ "--parser" "javascript" ];
|
||||
}
|
||||
{
|
||||
name = "tsx";
|
||||
|
||||
auto-format = true;
|
||||
formatter.command = "prettier";
|
||||
formatter.args = [ "--parser" "typescript" ];
|
||||
}
|
||||
{
|
||||
name = "html";
|
||||
|
||||
auto-format = true;
|
||||
formatter.command = "prettier";
|
||||
formatter.args = [ "--parser" "html" ];
|
||||
}
|
||||
{
|
||||
name = "css";
|
||||
|
||||
auto-format = true;
|
||||
formatter.command = "prettier";
|
||||
formatter.args = [ "--parser" "css" ];
|
||||
}
|
||||
{
|
||||
name = "json";
|
||||
|
||||
auto-format = true;
|
||||
formatter.command = "prettier";
|
||||
formatter.args = [ "--parser" "json" ];
|
||||
}
|
||||
{
|
||||
name = "yaml";
|
||||
|
||||
auto-format = true;
|
||||
formatter.command = "prettier";
|
||||
formatter.args = [ "--parser" "yaml" ];
|
||||
}
|
||||
{
|
||||
name = "cull";
|
||||
|
@ -29,6 +91,8 @@
|
|||
}
|
||||
];
|
||||
|
||||
languages.language-server.rust-analyzer.config.check.command = "clippy";
|
||||
|
||||
settings.theme = "gruvbox_dark_hard";
|
||||
|
||||
settings.editor = {
|
||||
|
@ -99,6 +163,9 @@
|
|||
# RUST
|
||||
rust-analyzer-nightly
|
||||
|
||||
# WEB & JS
|
||||
prettier
|
||||
|
||||
# ZIG
|
||||
upkgs.zls
|
||||
]))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue