From df2f70dc3ae737ef0986ee1d9b3310c465cf3e4d Mon Sep 17 00:00:00 2001 From: Chris Jackson Date: Thu, 1 Feb 2018 22:25:10 +0000 Subject: [PATCH] Add Eclipse code formatter Signed-off-by: Chris Jackson --- CONTRIBUTING.md | 2 + EclipseFormatter.xml | 315 +++++++++++++++++++++++++++++++++++++++++++ README.md | 2 + 3 files changed, 319 insertions(+) create mode 100644 EclipseFormatter.xml diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index aa7707a72..672099aa2 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,6 +1,8 @@ +* Code style should use [standard naming conventions](https://www.thoughtco.com/using-java-naming-conventions-2034199) * Codacy static testing should pass. * Please consider raising issues before working on an enhancement to provide some coordination. * Keep PRs short - try and keep a single PR per enhancement. This makes tracking and reviewing easier. * Contributions must be supported with tests. +* Code must be formatted using the Eclipse code formatter provided in the project. * Contributions must be your own and you must agree with the license. * You must sign the PR and commits and must agree to the [Contributor License Agreement](https://cla-assistant.io/zsmartsystems/com.zsmartsystems.zigbee). diff --git a/EclipseFormatter.xml b/EclipseFormatter.xml new file mode 100644 index 000000000..e33f56b3d --- /dev/null +++ b/EclipseFormatter.xml @@ -0,0 +1,315 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/README.md b/README.md index e810e06c5..5c067ec76 100644 --- a/README.md +++ b/README.md @@ -72,10 +72,12 @@ These provide minimal functionality and can be extended as required. # Contributing +* Code style should use [standard naming conventions](https://www.thoughtco.com/using-java-naming-conventions-2034199) * Codacy static testing should pass. * Please consider raising issues before working on an enhancement to provide some coordination. * Keep PRs short - try and keep a single PR per enhancement. This makes tracking and reviewing easier. * Contributions must be supported with tests. +* Code must be formatted using the Eclipse code formatter provided in the project. * Contributions must be your own and you must agree with the license. * You must sign the PR and commits and must agree to the [Contributor License Agreement](https://cla-assistant.io/zsmartsystems/com.zsmartsystems.zigbee).