jervis icon indicating copy to clipboard operation
jervis copied to clipboard

Groovy reformatter

Open samrocketman opened this issue 11 months ago • 0 comments

It may be time to reformat all code using an automated utility.

https://github.com/nvuillam/npm-groovy-lint

git clone https://github.com/nvuillam/npm-groovy-lint
cd npm-groovy-lint
docker build -t nvuillam/npm-groovy-lint .
cd ~/git/github/jervis/vars/

# reformat code
docker run --rm -u "$(id -u):$(id -g)" -w=/tmp -v "$PWD":/tmp nvuillam/npm-groovy-lint --format

# show only coding errors
docker run --rm -u "$(id -u):$(id -g)" -w=/tmp -v "$PWD":/tmp nvuillam/npm-groovy-lint --failon error --loglevel error

samrocketman avatar Mar 14 '25 03:03 samrocketman