Add support for AWS Translate #261
Annotations
10 errors and 1 warning
Run rubocop:
i18n-tasks.gemspec#L63
[Correctable] Gemspec/OrderedDependencies: Dependencies should be sorted in an alphabetical order within their section of the gemspec. Dependency aws-sdk-translate should appear before yandex-translator.
|
Run rubocop:
lib/i18n/tasks/configuration.rb#L62
Metrics/AbcSize: Assignment Branch Condition size for translation_config is too high. [<12, 34, 12> 38/30]
|
Run rubocop:
lib/i18n/tasks/configuration.rb#L62
Metrics/CyclomaticComplexity: Cyclomatic complexity for translation_config is too high. [13/12]
|
Run rubocop:
lib/i18n/tasks/configuration.rb#L62
Metrics/PerceivedComplexity: Perceived complexity for translation_config is too high. [13/12]
|
Run rubocop:
lib/i18n/tasks/translators/aws_translator.rb#L19
[Correctable] Layout/TrailingWhitespace: Trailing whitespace detected.
|
Run rubocop:
lib/i18n/tasks/translators/aws_translator.rb#L21
[Correctable] Layout/SpaceInsideParens: Space inside parentheses detected.
|
Run rubocop:
lib/i18n/tasks/translators/aws_translator.rb#L21
[Correctable] Layout/SpaceInsideParens: Space inside parentheses detected.
|
Run rubocop:
lib/i18n/tasks/translators/aws_translator.rb#L29
[Correctable] Style/TrailingCommaInArguments: Avoid comma after the last parameter of a method call.
|
Run rubocop:
lib/i18n/tasks/translators/aws_translator.rb#L59
[Correctable] Layout/EmptyLineAfterGuardClause: Add empty line after guard clause.
|
Run rubocop:
lib/i18n/tasks/translators/aws_translator.rb#L59
[Correctable] Style/IfUnlessModifier: Modifier form of if makes the line too long.
|
Run rubocop:
lib/i18n/tasks/translators/aws_translator.rb#L61
[Correctable] Layout/BeginEndAlignment: end at 61, 23 is not aligned with @credentials ||= begin at 56, 6.
|
Loading