Skip to content

Commit

Permalink
Enforce kind projection style using Scalastyle typelevel#1092.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterneyens committed Jun 8, 2016
1 parent a315749 commit fcb93fa
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 fcb93fa

Please sign in to comment.