facebook pixelScala Static Analysis Rules
BACK TO LIST

Scala rules

Codiga provides multiple set 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
      Minor

      Use an uppercase character for long literals

      Learn more

      org.scalastyle.file.WhitespaceEndOfLineChecker

      Code style
      Minor

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

      org.scalastyle.scalariform.EmptyClassChecker

      Code style
      Minor

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

      org.scalastyle.scalariform.ImportGroupingChecker

      Code style
      Minor

      Checks that imports are grouped together, not throughout the file

      org.scalastyle.scalariform.NoWhitespaceBeforeLeftBracketChecker

      Code style
      Minor

      No whitespace before left bracket ‘[’

      org.scalastyle.scalariform.ObjectNamesChecker

      Code style
      Minor

      Check that object names match a regular expression

      org.scalastyle.scalariform.SpacesAfterPlusChecker

      Code style
      Minor

      Check that the plus sign is followed by a space

      org.scalastyle.scalariform.SpacesBeforePlusChecker

      Code style
      Minor

      Check that the plus sign is preceded by a space

      org.scalastyle.file.FileTabChecker

      Code style
      Minor

      Line contains a tab

      org.scalastyle.scalariform.NoWhitespaceAfterLeftBracketChecker

      Code style
      Minor

      No space after a left bracket

      org.scalastyle.scalariform.StructuralTypeChecker

      Code style
      Minor

      Avoid using structural types