|
1 month ago | |
---|---|---|
.. | ||
gradle | 1 month ago | |
.clang-format | 4 years ago | |
.editorconfig | 3 years ago | |
README.md | 3 years ago | |
build.gradle | 1 year ago | |
eclipse-formatter.xml | 4 years ago | |
format.sh | 3 years ago | |
gradlew | 4 years ago | |
gradlew.bat | 4 years ago | |
settings.gradle | 3 years ago | |
tsfmt.json | 4 years ago |
This folder contains formatter configuration files to be used with IDEs as well as the spotless formatter expressed in the Gradle project in this directory.
You will need the following on your PATH
:
brew install clang-format
). Also set the environment variable CLANGFORMAT
to the path of the clang-format
executable.dotnet tool install -g dotnet-format
, comes with dotnet 6 out of the box)npm install -g typescript-formatter
)To run the formatter, invoke the format.sh
script. This will shuffle around the Gradle config files, invoke spotless, then undo the config file shuffling. Invoking ./gradlew spotlessApply
from the formatters/
directory will not work.