• Category Archives: changelog

Ring the alarm: Announcing issue severity

Today, we’re excited to introduce a more nuanced view of issue severity. Each issue is now reported with one of five possible severity levels – Info, Minor, Major, Critical, and Blocker – so you can quickly gauge a reported issue’s potential impact. Dots on the corner of every issue provide a further visual representation of the severity, helping you quickly parse your Issues report.

img

One of the greatest challenges in improving code quality is knowing where to start, and understanding issue severity is a great way to figure that out!

Read more at the source

New analysis engine: Stylelint

We’re excited to introduce our latest community engine, thanks to awesome developer program member contributor Gil Barbara!

Stylelint is a modern CSS linter to help you enforce code style conventions and avoid errors in your stylesheets.

To enable Stylelint for your analysis on codeclimate.com or Code Climate Enterprise, add the following to your .codeclimate.yml configuration file:

    engines:
      stylelint:
        enabled: true
    ratings:
      paths:
      - "**.css"
      - "**.less"
      - "**.scss"
      - "**.sss"

You can also enable the engine via the CLI with codeclimate engines:enable stylelint. This will create a default configuration file if you don’t have one already.

Stylelint has over 150 rules, all of which are completely configurable. Add it today and keep your CSS squeaky clean!

Read more at the source

New analysis engine: Flog

Today, we’re excited to announce the release of the Flog analysis engine.

Flog is a static analysis tool for Ruby that measures the ABC complexity of methods. Or, as stated by its author, Ryan Davis: “Flog reports the most tortured code in an easy to read pain report. The higher the score, the more pain the code is in.”

For those of you who’ve been using Code Climate for a while, ABC is the same complexity metric that was calculated as part of our Classic analysis – and we’re excited to reintroduce it as an engine!

To enable the Flog engine for your project, add the following to your .codeclimate.yml configuration file:

    engines:
      flog:
        enabled: true
    ratings:
      paths:
      - "**.rb"

If you have the latest version of the CLI installed, you can enable the engine with codeclimate engines:enable flog.

Read more at the source
close