about summary refs log tree commit diff stats
path: root/sys/nixpkgs/pkgs/tree-sitter-yts/treefmt.toml
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2024-02-20 17:21:42 +0100
committerSoispha <soispha@vhack.eu>2024-02-20 17:21:42 +0100
commitf2bdeaed0bcf97a880fe36cfc8a050d1643120b8 (patch)
treeba4fe9c3ddf076529701c0e776ffef2104ac23d5 /sys/nixpkgs/pkgs/tree-sitter-yts/treefmt.toml
parentrefactor(treewide): Add a `.sh` extension to shell scripts (diff)
downloadnixos-config-f2bdeaed0bcf97a880fe36cfc8a050d1643120b8.zip
refactor(treewide): Reformat all files with treefmt
This includes getting all shellscripts to pass shellcheck. To accomplish
this, some old scripts were removed
Diffstat (limited to '')
-rw-r--r--sys/nixpkgs/pkgs/tree-sitter-yts/treefmt.toml22
1 files changed, 11 insertions, 11 deletions
diff --git a/sys/nixpkgs/pkgs/tree-sitter-yts/treefmt.toml b/sys/nixpkgs/pkgs/tree-sitter-yts/treefmt.toml
index e84ae516..3d604b40 100644
--- a/sys/nixpkgs/pkgs/tree-sitter-yts/treefmt.toml
+++ b/sys/nixpkgs/pkgs/tree-sitter-yts/treefmt.toml
@@ -7,15 +7,15 @@ excludes = ["test/**.nix"]
 command = "prettier"
 options = ["--write"]
 includes = [
-    "*.css",
-    "*.html",
-    "*.js",
-    "*.json",
-    "*.jsx",
-    "*.md",
-    "*.mdx",
-    "*.scss",
-    "*.ts",
+  "*.css",
+  "*.html",
+  "*.js",
+  "*.json",
+  "*.jsx",
+  "*.md",
+  "*.mdx",
+  "*.scss",
+  "*.ts",
 ]
 excludes = ["src/**.json"]
 
@@ -26,8 +26,8 @@ includes = ["*.rs"]
 
 [formatter.c]
 command = "clang-format"
-options = [ "-i" ]
-includes = [ "*.c", "*.cpp", "*.cc", "*.h", "*.hpp" ]
+options = ["-i"]
+includes = ["*.c", "*.cpp", "*.cc", "*.h", "*.hpp"]
 excludes = [
   "bindings/node/binding.cc",
   "src/parser.c",