Eclipse configuration for checkstyle
Eclipse checkstyle configuration, which refers to our rules,
and ignore files under src/test/
Change-Id: Ica8cd7f1600e5ff1763dc2fdd577d0ee279b70a2
diff --git a/.checkstyle b/.checkstyle
new file mode 100644
index 0000000..40e6b6c
--- /dev/null
+++ b/.checkstyle
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<fileset-config file-format-version="1.2.0" simple-config="false" sync-formatter="false">
+ <local-check-config name="ONOS" location="conf/checkstyle/sun_checks.xml" type="project" description="ONOS checkstyle">
+ <additional-data name="protect-config-file" value="false"/>
+ </local-check-config>
+ <fileset name="all" enabled="true" check-config-name="ONOS" local="true">
+ <file-match-pattern match-pattern="." include-pattern="true"/>
+ <file-match-pattern match-pattern="src/test/.*" include-pattern="false"/>
+ </fileset>
+</fileset-config>