ivantsepp/codeclimate-scss-lint

View on GitHub

Showing 4 of 40 total issues

Method has too many lines. [25/10]
Open

    def report_lints
      lints.each do |lint|
        linter_name = lint.linter ? lint.linter.name : "Error"
        issue_json = {
          type: "issue",

This cop checks if the length of a method exceeds some maximum value. Comment lines can optionally be ignored. The maximum allowed length is configurable.

Method has too many lines. [17/10]
Open

      def scss_lint_options
        options = {
          reporters: [
            ["Codeclimate", :stdout]
          ],
Severity: Minor
Found in lib/cc/engine/scss-lint.rb by rubocop

This cop checks if the length of a method exceeds some maximum value. Comment lines can optionally be ignored. The maximum allowed length is configurable.

Assignment Branch Condition size for report_lints is too high. [21.12/15]
Open

    def report_lints
      lints.each do |lint|
        linter_name = lint.linter ? lint.linter.name : "Error"
        issue_json = {
          type: "issue",

This cop checks that the ABC size of methods is not higher than the configured maximum. The ABC size is based on assignments, branches (method calls), and conditions. See http://c2.com/cgi/wiki?AbcMetric

Assignment Branch Condition size for scss_lint_options is too high. [15.94/15]
Open

      def scss_lint_options
        options = {
          reporters: [
            ["Codeclimate", :stdout]
          ],
Severity: Minor
Found in lib/cc/engine/scss-lint.rb by rubocop

This cop checks that the ABC size of methods is not higher than the configured maximum. The ABC size is based on assignments, branches (method calls), and conditions. See http://c2.com/cgi/wiki?AbcMetric

Severity
Category
Status
Source
Language