diff --git a/justfile b/justfile index 78c4402..0277670 100644 --- a/justfile +++ b/justfile @@ -28,10 +28,10 @@ repl: nix repl --expr 'builtins.getFlake "{{git_dir}}"' format: - treefmt + treefmt --config-file ./lib/tooling-config/treefmt.toml --tree-root {{git_dir}} lint: - selene --allow-warnings + selene --allow-warnings --config ./lib/tooling-config/selene.toml check-flake-outputs: #!/usr/bin/env sh @@ -41,6 +41,6 @@ check-flake-outputs: nix flake check --all-systems --verbose --impure check-formatting: - treefmt --fail-on-change --no-cache + treefmt --fail-on-change --no-cache --config-file ./lib/tooling-config/treefmt.toml --tree-root {{git_dir}} ci: check-flake-outputs check-formatting lint diff --git a/selene.toml b/lib/tooling-config/selene.toml similarity index 100% rename from selene.toml rename to lib/tooling-config/selene.toml diff --git a/.formatters/statix.toml b/lib/tooling-config/statix.toml similarity index 100% rename from .formatters/statix.toml rename to lib/tooling-config/statix.toml diff --git a/.formatters/stylua.toml b/lib/tooling-config/stylua.toml similarity index 100% rename from .formatters/stylua.toml rename to lib/tooling-config/stylua.toml diff --git a/treefmt.toml b/lib/tooling-config/treefmt.toml similarity index 73% rename from treefmt.toml rename to lib/tooling-config/treefmt.toml index 4b39cf1..38cdf73 100644 --- a/treefmt.toml +++ b/lib/tooling-config/treefmt.toml @@ -2,13 +2,13 @@ [formatter.stylua] command = "stylua" -options = [ "--config-path", "./.formatters/stylua.toml" ] +options = [ "--config-path", "lib/tooling-config/stylua.toml" ] includes = [ "*.lua" ] excludes = [] [formatter.statix] command = "statix" -options = [ "--config", "./.formatters/statix.toml" ] +options = [ "--config", "lib/tooling-config/statix.toml" ] includes = [ ".nix" ] [formatter.deadnix] diff --git a/vim.toml b/lib/tooling-config/vim.toml similarity index 100% rename from vim.toml rename to lib/tooling-config/vim.toml