Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

taplo doesn't support files that don't end in .toml #705

Open
anguslees opened this issue Nov 25, 2024 · 0 comments
Open

taplo doesn't support files that don't end in .toml #705

anguslees opened this issue Nov 25, 2024 · 0 comments

Comments

@anguslees
Copy link

anguslees commented Nov 25, 2024

tbc, the taplo tool itself doesn't seem to support files that don't end in .toml.

$ ./taplo-linux-x86_64 --version
taplo 0.9.3
$ cat .taplo.toml 
[[rule]]
include = ["**/foo", "**/foo.toml"]
[rule.schema]
path = "<my schema>"
$ ./taplo-linux-x86_64 validate foo.toml
INFO taplo:load_config: found configuration file path="<pwd>/.taplo.toml"
INFO taplo:lint_files:collect_files: found files total=1 excluded=0 cwd="<pwd>"
$ ./taplo-linux-x86_64 validate foo
INFO taplo:load_config: found configuration file path="<pwd>/.taplo.toml"
INFO taplo:lint_files:collect_files: found files total=1 excluded=1 cwd="<pwd>"

Note excluded= values.

Schema checks work (correctly identify errors) in foo.toml, but I can't find any combination of options that makes foo get included.

(Same through both vscode extension and cli tool)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant