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

Custom file types #2314

Open
1 task done
danieroux opened this issue Apr 12, 2024 · 1 comment
Open
1 task done

Custom file types #2314

danieroux opened this issue Apr 12, 2024 · 1 comment

Comments

@danieroux
Copy link
Contributor

  • I have read the Clojure etiquette and will respect it when communicating on this platform.

Is your feature request related to a problem? Please describe.
We have .repl files, which are Transcriptor tests. We want to lint those when --lint <dir>.

Describe the solution you'd like
A CLI flag --custom-file-types repl,clj --lint <dir> to map the file type to lang clj. It will then include the custom type when looking in <dir>.

Describe alternatives you've considered
Making --lang mandatory if --custom-file-types is specified, getting to: --lang clj --custom-file-types repl

Additional context
Am interested in getting a PR together for this.

@borkdude
Copy link
Member

Wouldn't it be easier for all parties / tooling if the transcriptor output just named these files .repl.clj?

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

2 participants