Skip to content

Commit b4c216c

Browse files
committed
refactor(nix): simplify oxfmt includes to wildcard pattern
Replace explicit file extension list with wildcard pattern for oxfmt formatter configuration. The --no-error-on-unmatched-pattern flag handles unsupported file types gracefully, making the explicit list unnecessary.
1 parent fc98e07 commit b4c216c

1 file changed

Lines changed: 1 addition & 12 deletions

File tree

flake.nix

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -67,18 +67,7 @@
6767
settings.formatter.oxfmt = {
6868
command = "${pkgs.oxfmt}/bin/oxfmt";
6969
options = [ "--no-error-on-unmatched-pattern" ];
70-
includes = [
71-
"*.md"
72-
"*.yml"
73-
"*.yaml"
74-
"*.json"
75-
"*.ts"
76-
"*.tsx"
77-
"*.js"
78-
"*.jsx"
79-
"*.html"
80-
"*.css"
81-
];
70+
includes = [ "*" ];
8271
excludes = [
8372
"CHANGELOG.md"
8473
];

0 commit comments

Comments
 (0)