mirror of
https://github.com/RGBCube/ncc
synced 2025-07-31 20:17:45 +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;
|
auto-format = false;
|
||||||
formatter.command = "alejandra";
|
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";
|
name = "cull";
|
||||||
|
@ -29,6 +91,8 @@
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
languages.language-server.rust-analyzer.config.check.command = "clippy";
|
||||||
|
|
||||||
settings.theme = "gruvbox_dark_hard";
|
settings.theme = "gruvbox_dark_hard";
|
||||||
|
|
||||||
settings.editor = {
|
settings.editor = {
|
||||||
|
@ -99,6 +163,9 @@
|
||||||
# RUST
|
# RUST
|
||||||
rust-analyzer-nightly
|
rust-analyzer-nightly
|
||||||
|
|
||||||
|
# WEB & JS
|
||||||
|
prettier
|
||||||
|
|
||||||
# ZIG
|
# ZIG
|
||||||
upkgs.zls
|
upkgs.zls
|
||||||
]))
|
]))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue