BACK TO LIST

Scala rules

Codiga provides multiple sets of rules for 12+ languages. Below we provide a link and a description for all the rules supported by our platform. Note that not all the rules are being listed and described below.

org.scalastyle.scalariform.UppercaseLChecker

Code style
Informational

Use an uppercase character for long literals

Learn more

org.scalastyle.file.WhitespaceEndOfLineChecker

Code style
Informational

Check that there is no trailing whitespace at the end of lines

org.scalastyle.scalariform.ClassTypeParameterChecker

Code style
Warning

Checks that type parameter to a class matches a regular expression

org.scalastyle.scalariform.EmptyClassChecker

Code style
Informational

If a class/trait has no members, the braces are unnecessary

org.scalastyle.scalariform.ImportGroupingChecker

Code style
Informational

Checks that imports are grouped together, not throughout the file

org.scalastyle.scalariform.NoWhitespaceBeforeLeftBracketChecker

Code style
Informational

No whitespace before left bracket ‘[’

org.scalastyle.scalariform.ObjectNamesChecker

Code style
Informational

Check that object names match a regular expression

org.scalastyle.scalariform.SpacesAfterPlusChecker

Code style
Informational

Check that the plus sign is followed by a space

org.scalastyle.scalariform.SpacesBeforePlusChecker

Code style
Informational

Check that the plus sign is preceded by a space

org.scalastyle.file.FileTabChecker

Code style
Informational

Line contains a tab

org.scalastyle.scalariform.NoWhitespaceAfterLeftBracketChecker

Code style
Informational

No space after a left bracket

org.scalastyle.scalariform.StructuralTypeChecker

Code style
Informational

Avoid using structural types

We use cookies to improve your site experience, including analytics cookies to understand how you use our product and design better experiences. Please read our Cookie Policy.