fnichol/stylua
A small Docker image for StyLua, an opinionated Lua code formatter.
1.1K
A small Docker image for StyLua, an opinionated Lua code formatter.
Table of Contents
The image is hosted on Docker Hub and can be pulled down with:
$ docker pull fnichol/stylua
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 .
If you have any problems with or questions about this image, please contact us through a GitHub issue.
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.
Created and maintained by Fletcher Nichol (fnichol@nichol.ca).
This Docker image is licensed under the MIT license. The StyLua project is also licensed under the MIT license.
docker pull fnichol/stylua