natydev/fitbark

View on GitHub
lib/fitbark/data/token_info.rb

Summary

Maintainability
A
0 mins
Test Coverage

Trailing whitespace detected.
Open

    # Original attribute names from source API: 
Severity: Minor
Found in lib/fitbark/data/token_info.rb by rubocop

Use empty lines between method definitions.
Open

      def application
Severity: Minor
Found in lib/fitbark/data/token_info.rb by rubocop

This cop checks whether method definitions are separated by one empty line.

NumberOfEmptyLines can be and integer (e.g. 1 by default) or an array (e.g. [1, 2]) to specificy a minimum and a maximum of empty lines.

AllowAdjacentOneLineDefs can be used to configure is adjacent one line methods definitions are an offense

Example:

# bad
def a
end
def b
end

Example:

# good
def a
end

def b
end

There are no issues that match your filters.

Category
Status