Skip to content

Commit

Permalink
Merge pull request #1099 from peterneyens/scalastyle-kind-projector
Browse files Browse the repository at this point in the history
Enforce kind projection style using Scalastyle
  • Loading branch information
non committed Jun 8, 2016
2 parents 948e85c + fcb93fa commit 3e56801
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scalastyle-config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,10 @@
<parameter name="ignoreOverride">false</parameter>
</parameters>
</check>
<check level="error" class="org.scalastyle.file.RegexChecker" enabled="true" customId="kind.projector.lambda">
<parameters>
<parameter name="regex">Lambda\[</parameter>
</parameters>
<customMessage><![CDATA[Use Greek characters in a kind projection (λ[α => ...]).]]></customMessage>
</check>
</scalastyle>

0 comments on commit 3e56801

Please sign in to comment.