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

feature: add shtfmt formatter for bash/shell scripts #1776

Open
Jiehong opened this issue Aug 3, 2023 · 1 comment
Open

feature: add shtfmt formatter for bash/shell scripts #1776

Jiehong opened this issue Aug 3, 2023 · 1 comment

Comments

@Jiehong
Copy link

Jiehong commented Aug 3, 2023

Hello,

I've been using spotless as a maven plugin for a while now, and it's very nice.

The best part is its support for many languages/files.

It would be really nice if spotless would allow using shtfmt (https://github.com/mvdan/sh) to format bash/sh files with a given extension.

Would that be possible?

@nedtwigg
Copy link
Member

nedtwigg commented Aug 3, 2023

A PR for this is welcome: https://github.com/diffplug/spotless/blob/main/CONTRIBUTING.md

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

No branches or pull requests

2 participants