codeclimate/codeclimate-rubocop

View on GitHub
config/contents/lint/format_parameter_mismatch.md

Summary

Maintainability
Test Coverage
This lint sees if there is a mismatch between the number of
expected fields for format/sprintf/#% and what is actually
passed as arguments.

### Example:

    # bad

    format('A value: %s and another: %i', a_value)

### Example:

    # good

    format('A value: %s and another: %i', a_value, another)