diff --git a/tests/_snapshots/haumea b/tests/_snapshots/haumea index 7bbddb2..7d00f6a 100644 --- a/tests/_snapshots/haumea +++ b/tests/_snapshots/haumea @@ -7,35 +7,6 @@ data = { foo = "baz"; }; - editorconfig = { - "*" = { - charset = "utf-8"; - end_of_line = "lf"; - indent_size = 2; - indent_style = "space"; - insert_final_newline = true; - trim_trailing_whitespace = true; - }; - "*.md" = { - max_line_length = "off"; - trim_trailing_whitespace = false; - }; - "*.{diff,patch}" = { - end_of_line = "unset"; - indent_size = "unset"; - insert_final_newline = "unset"; - trim_trailing_whitespace = "unset"; - }; - root = true; - "{LICENSES/**,LICENSE}" = { - charset = "unset"; - end_of_line = "unset"; - indent_size = "unset"; - indent_style = "unset"; - insert_final_newline = "unset"; - trim_trailing_whitespace = "unset"; - }; - }; treefmt = { formatter = { nix = { @@ -50,15 +21,6 @@ prettier = { command = "prettier"; includes = [ - "*.css" - "*.html" - "*.js" - "*.json" - "*.jsx" - "*.md" - "*.mdx" - "*.scss" - "*.ts" "*.yaml" "*.toml" "*.jsl" @@ -69,18 +31,6 @@ "--write" ]; }; - shell = { - command = "shfmt"; - includes = [ - "*.sh" - ]; - options = [ - "-i" - "2" - "-s" - "-w" - ]; - }; }; }; }; @@ -88,35 +38,6 @@ data = { foo = "baz"; }; - editorconfig = { - "*" = { - charset = "utf-8"; - end_of_line = "lf"; - indent_size = 2; - indent_style = "space"; - insert_final_newline = true; - trim_trailing_whitespace = true; - }; - "*.md" = { - max_line_length = "off"; - trim_trailing_whitespace = false; - }; - "*.{diff,patch}" = { - end_of_line = "unset"; - indent_size = "unset"; - insert_final_newline = "unset"; - trim_trailing_whitespace = "unset"; - }; - root = true; - "{LICENSES/**,LICENSE}" = { - charset = "unset"; - end_of_line = "unset"; - indent_size = "unset"; - indent_style = "unset"; - insert_final_newline = "unset"; - trim_trailing_whitespace = "unset"; - }; - }; treefmt = { formatter = { nix = { @@ -129,15 +50,6 @@ prettier = { command = "prettier"; includes = [ - "*.css" - "*.html" - "*.js" - "*.json" - "*.jsx" - "*.md" - "*.mdx" - "*.scss" - "*.ts" "*.yaml" "*.toml" ]; @@ -147,18 +59,6 @@ "--write" ]; }; - shell = { - command = "shfmt"; - includes = [ - "*.sh" - ]; - options = [ - "-i" - "2" - "-s" - "-w" - ]; - }; }; }; }; @@ -166,35 +66,6 @@ data = { foo = "baz"; }; - editorconfig = { - "*" = { - charset = "utf-8"; - end_of_line = "lf"; - indent_size = 2; - indent_style = "space"; - insert_final_newline = true; - trim_trailing_whitespace = true; - }; - "*.md" = { - max_line_length = "off"; - trim_trailing_whitespace = false; - }; - "*.{diff,patch}" = { - end_of_line = "unset"; - indent_size = "unset"; - insert_final_newline = "unset"; - trim_trailing_whitespace = "unset"; - }; - root = true; - "{LICENSES/**,LICENSE}" = { - charset = "unset"; - end_of_line = "unset"; - indent_size = "unset"; - indent_style = "unset"; - insert_final_newline = "unset"; - trim_trailing_whitespace = "unset"; - }; - }; treefmt = { formatter = { nix = { @@ -207,15 +78,6 @@ prettier = { command = "prettier"; includes = [ - "*.css" - "*.html" - "*.js" - "*.json" - "*.jsx" - "*.md" - "*.mdx" - "*.scss" - "*.ts" "*.yaml" "*.toml" "*.dmergeOutputs" @@ -226,18 +88,6 @@ "--write" ]; }; - shell = { - command = "shfmt"; - includes = [ - "*.sh" - ]; - options = [ - "-i" - "2" - "-s" - "-w" - ]; - }; }; }; }; @@ -248,35 +98,6 @@ dataExt = { foo = "bar"; }; - editorconfig = { - "*" = { - charset = "utf-8"; - end_of_line = "lf"; - indent_size = 2; - indent_style = "space"; - insert_final_newline = true; - trim_trailing_whitespace = true; - }; - "*.md" = { - max_line_length = "off"; - trim_trailing_whitespace = false; - }; - "*.{diff,patch}" = { - end_of_line = "unset"; - indent_size = "unset"; - insert_final_newline = "unset"; - trim_trailing_whitespace = "unset"; - }; - root = true; - "{LICENSES/**,LICENSE}" = { - charset = "unset"; - end_of_line = "unset"; - indent_size = "unset"; - indent_style = "unset"; - insert_final_newline = "unset"; - trim_trailing_whitespace = "unset"; - }; - }; treefmt = { formatter = { nix = { @@ -289,15 +110,6 @@ prettier = { command = "prettier"; includes = [ - "*.css" - "*.html" - "*.js" - "*.json" - "*.jsx" - "*.md" - "*.mdx" - "*.scss" - "*.ts" "*.yaml" "*.toml" ]; @@ -307,18 +119,6 @@ "--write" ]; }; - shell = { - command = "shfmt"; - includes = [ - "*.sh" - ]; - options = [ - "-i" - "2" - "-s" - "-w" - ]; - }; }; }; }; diff --git a/tests/haumea/__data/editorconfig.nix b/tests/haumea/__data/editorconfig.nix deleted file mode 100644 index eb1fffa..0000000 --- a/tests/haumea/__data/editorconfig.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ - root = true; - - "*" = { - end_of_line = "lf"; - insert_final_newline = true; - trim_trailing_whitespace = true; - charset = "utf-8"; - indent_style = "space"; - indent_size = 2; - }; - - "*.{diff,patch}" = { - end_of_line = "unset"; - insert_final_newline = "unset"; - trim_trailing_whitespace = "unset"; - indent_size = "unset"; - }; - - "*.md" = { - max_line_length = "off"; - trim_trailing_whitespace = false; - }; - "{LICENSES/**,LICENSE}" = { - end_of_line = "unset"; - insert_final_newline = "unset"; - trim_trailing_whitespace = "unset"; - charset = "unset"; - indent_style = "unset"; - indent_size = "unset"; - }; -} diff --git a/tests/haumea/__data/treefmt.nix b/tests/haumea/__data/treefmt.nix index 1860249..2356ad6 100644 --- a/tests/haumea/__data/treefmt.nix +++ b/tests/haumea/__data/treefmt.nix @@ -13,28 +13,9 @@ "--write" ]; includes = [ - "*.css" - "*.html" - "*.js" - "*.json" - "*.jsx" - "*.md" - "*.mdx" - "*.scss" - "*.ts" "*.yaml" "*.toml" ]; }; - shell = { - command = "shfmt"; - options = [ - "-i" - "2" - "-s" - "-w" - ]; - includes = [ "*.sh" ]; - }; }; }