summaryrefslogtreecommitdiff
path: root/scalastyle-config.xml
diff options
context:
space:
mode:
authorJim Lawson2019-03-23 15:50:18 -0700
committerJack Koenig2019-03-23 15:50:18 -0700
commit9cc5a7d567e4a3038dbb2f603aa44d1d435967a1 (patch)
tree9719c49debc6ae46f1f32704678d47909a742cb0 /scalastyle-config.xml
parentc6b34ead5878d2b8a64ea0a4b887e84fc39fff1d (diff)
Aggregate coverage - aggregate tests but not publishing (#1040)
Discover a working combination of aggregate usage to enable coverage of subproject testing but publish a single Jar. Use "scalastyle-test-config.xml" for scalastyle config in tests. Enable "_" in method names and accept method names ending in "_=". Re-sync scalastyle-test-config.xml with scalastyle-config.xml This should finally fix #772.
Diffstat (limited to 'scalastyle-config.xml')
-rw-r--r--scalastyle-config.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/scalastyle-config.xml b/scalastyle-config.xml
index e12da8c2..67aa8afe 100644
--- a/scalastyle-config.xml
+++ b/scalastyle-config.xml
@@ -95,7 +95,7 @@
</check>
<check level="warning" class="org.scalastyle.scalariform.MethodNamesChecker" enabled="true">
<parameters>
- <parameter name="regex"><![CDATA[^[a-z][A-Za-z0-9]*$]]></parameter>
+ <parameter name="regex"><![CDATA[^[a-z][A-Za-z0-9_]*(_=)?$]]></parameter>
<parameter name="ignoreRegex"><![CDATA[^(\+[&%]?|\-[&%]?|\*|/|%|&|\||\^|<|>|\|\||&&|:=|<>|<=|>=|!=|===|=/=|<<|>>|##|unary_(~|\-%?|!))$]]></parameter>
</parameters>
</check>