fnichol/stylua

By fnichol

Updated almost 2 years ago

A small Docker image for StyLua, an opinionated Lua code formatter.

Image

1.1K

docker-stylua

Build StatusDocker PullsGitHub

A small Docker image for StyLua, an opinionated Lua code formatter.

Table of Contents

Getting the Image

The image is hosted on Docker Hub and can be pulled down with:

$ docker pull fnichol/stylua

Usage

By default, stylua will be run with no arguments:

$ docker run --rm -ti fnichol/stylua
error: no files provided

To format Lua files in your current directory, mount your current directory into the container as read-only:

$ docker run --rm -ti -v "$(pwd)":/src:ro -w /src fnichol/stylua --check .

Issues

If you have any problems with or questions about this image, please contact us through a GitHub issue.

Contributing

You are invited to contribute to new features, fixes, or updates, large or small; we are always thrilled to receive pull requests, and do our best to process them as fast as we can.

Before you start to code, we recommend discussing your plans through a GitHub issue, especially for more ambitious contributions. This gives other contributors a chance to point you in the right direction, give you feedback on your design, and help you find out if someone else is working on the same thing.

Authors

Created and maintained by Fletcher Nichol (fnichol@nichol.ca).

License

This Docker image is licensed under the MIT license. The StyLua project is also licensed under the MIT license.

Docker Pull Command

docker pull fnichol/stylua