Skip to content

Commit

Permalink
Feat: Add rustywind formatter (#56)
Browse files Browse the repository at this point in the history
* Feat: Add rustywind formatter

This adds the rustywind, a CLI for organizing Tailwind CSS classes.

* Update meta description
  • Loading branch information
emilford authored Sep 16, 2023
1 parent cb5f939 commit a839ed1
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ To view configured and available formatters, as well as to see the log file, run
- [rubocop](https://github.com/rubocop/rubocop) - Ruby static code analyzer and formatter, based on the community Ruby style guide.
- [ruff](https://beta.ruff.rs/docs/) - An extremely fast Python linter, written in Rust.
- [rustfmt](https://github.com/rust-lang/rustfmt) - A tool for formatting rust code according to style guidelines.
- [rustywind](https://github.com/avencera/rustywind) - A tool for formatting Tailwind CSS classes.
- [scalafmt](https://github.com/scalameta/scalafmt) - Code formatter for Scala.
- [shellcheck](https://github.com/koalaman/shellcheck) - A static analysis tool for shell scripts.
- [shellharden](https://github.com/anordal/shellharden) - The corrective bash syntax highlighter
Expand Down
1 change: 1 addition & 0 deletions doc/conform.txt
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ FORMATTERS *conform-formatter
style guide.
`ruff` - An extremely fast Python linter, written in Rust.
`rustfmt` - A tool for formatting rust code according to style guidelines.
rustywind - A tool for formatting Tailwind CSS classes.
`scalafmt` - Code formatter for Scala.
`shellcheck` - A static analysis tool for shell scripts.
`shellharden` - The corrective bash syntax highlighter
Expand Down
9 changes: 9 additions & 0 deletions lua/conform/formatters/rustywind.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---@type conform.FileFormatterConfig
return {
meta = {
url = "https://github.com/avencera/rustywind",
description = "A tool for formatting Tailwind CSS classes.",
},
command = "rustywind",
args = { "--stdin" },
}

0 comments on commit a839ed1

Please sign in to comment.