Skip to content

Commit 04f8b3b

Browse files
author
Brian Chen
authored
docs: update README to include code formatting (#209)
1 parent a471f1e commit 04f8b3b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

CONTRIBUTING.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,15 @@ mvn -Penable-samples clean verify
101101
2. [Activate](#profile-activation) the profile.
102102
3. Define your samples in a normal Maven project in the `samples/` directory
103103

104+
### Code Formatting
105+
106+
Code in this repo is formatted with [google-java-format]
107+
(https://github.com/google/google-java-format).
108+
To run formatting on your project, you can run:
109+
```
110+
mvn com.coveo:fmt-maven-plugin:format
111+
```
112+
104113
### Profile Activation
105114

106115
To include code samples when building and testing the project, enable the

0 commit comments

Comments
 (0)