Sign inSign up

fnichol/stylua

By fnichol

Updated over 3 years ago

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

Image
0

3.1K

fnichol/stylua repository overview

docker-stylua

Build Status Docker Pulls GitHub

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 ([email protected]).

License

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

Tag summary

Content type

Image

Digest

sha256:327960a21

Size

6.2 MB

Last updated

over 3 years ago

docker pull fnichol/stylua