facebook pixelCodiga Analysis Scala Rules, severity informational
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.IllegalImportsChecker

Best practice
Informational

Import from illegal package

Learn more

org.scalastyle.scalariform.UppercaseLChecker

Code style
Informational

Use an uppercase character for long literals

org.scalastyle.file.WhitespaceEndOfLineChecker

Code style
Informational

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

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.MethodNamesChecker

Best practice
Informational

Check that method names match a regular expression

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