forked from redbooth/departure
-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Import ignored lint violations from CodeClimate
- Loading branch information
1 parent
2d862a1
commit 67c479d
Showing
4 changed files
with
118 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
# This configuration was generated by | ||
# `rubocop --auto-gen-config` | ||
# on 2024-01-02 13:03:20 -0300 using RuboCop version 0.49.1. | ||
# The point is for the user to remove these configuration records | ||
# one by one as the offenses are removed from the code base. | ||
# Note that changes in the inspected code, or installation of new | ||
# versions of RuboCop, may require this file to be generated again. | ||
|
||
# Offense count: 3 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: EnforcedStyle, SupportedStyles. | ||
# SupportedStyles: leading, trailing | ||
Layout/DotPosition: | ||
Exclude: | ||
- 'spec/integration/indexes_spec.rb' | ||
|
||
# Offense count: 4 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: SupportedStyles, IndentationWidth. | ||
# SupportedStyles: special_inside_parentheses, consistent, align_brackets | ||
Layout/IndentArray: | ||
EnforcedStyle: consistent | ||
|
||
# Offense count: 1 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: Width, IgnoredPatterns. | ||
Layout/IndentationWidth: | ||
Exclude: | ||
- 'spec/integration/indexes_spec.rb' | ||
|
||
# Offense count: 2 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: EnforcedStyle, SupportedStyles, EnforcedStyleForEmptyBraces, SupportedStylesForEmptyBraces. | ||
# SupportedStyles: space, no_space, compact | ||
# SupportedStylesForEmptyBraces: space, no_space | ||
Layout/SpaceInsideHashLiteralBraces: | ||
Exclude: | ||
- 'spec/active_record/connection_adapters/percona_adapter_spec.rb' | ||
|
||
# Offense count: 2 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods. | ||
Lint/UnusedMethodArgument: | ||
Exclude: | ||
- 'lib/active_record/connection_adapters/for_alter.rb' | ||
- 'spec/spec_helper.rb' | ||
|
||
# Offense count: 1 | ||
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. | ||
# URISchemes: http, https | ||
Metrics/LineLength: | ||
Max: 123 | ||
|
||
# Offense count: 1 | ||
# Cop supports --auto-correct. | ||
Security/YAMLLoad: | ||
Exclude: | ||
- 'configuration.rb' | ||
|
||
# Offense count: 12 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: EnforcedStyle, SupportedStyles. | ||
# SupportedStyles: braces, no_braces, context_dependent | ||
Style/BracesAroundHashParameters: | ||
Exclude: | ||
- 'spec/fixtures/migrate/**.rb' | ||
- 'spec/integration/**.rb' | ||
- 'spec/lhm/adapter/add_unique_index_spec.rb' | ||
- 'spec/lhm/adapter/remove_index_spec.rb' | ||
|
||
# Offense count: 1 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: EnforcedStyle, SupportedStyles. | ||
# SupportedStyles: compact, expanded | ||
Style/EmptyMethod: | ||
Exclude: | ||
- 'spec/fixtures/migrate/0029_disable_departure.rb' | ||
|
||
# Offense count: 12 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: EnforcedStyle, SupportedStyles, ConsistentQuotesInMultiline. | ||
# SupportedStyles: single_quotes, double_quotes | ||
Style/StringLiterals: | ||
Exclude: | ||
- 'spec/active_record/connection_adapters/percona_adapter_spec.rb' | ||
- 'spec/fixtures/migrate/0030_data_migration_with_upsert_all.rb' | ||
- 'spec/integration/data_migrations_spec.rb' | ||
- 'spec/integration/foreign_keys_spec.rb' | ||
- 'spec/lhm/column_with_sql_spec.rb' | ||
|
||
# Offense count: 1 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: EnforcedStyleForMultiline, SupportedStylesForMultiline. | ||
# SupportedStylesForMultiline: comma, consistent_comma, no_comma | ||
Style/TrailingCommaInArguments: | ||
Exclude: | ||
- 'spec/departure/runner_spec.rb' | ||
|
||
# Offense count: 1 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: EnforcedStyleForMultiline, SupportedStylesForMultiline. | ||
# SupportedStylesForMultiline: comma, consistent_comma, no_comma | ||
Style/TrailingCommaInLiteral: | ||
Exclude: | ||
- 'spec/integration/data_migrations_spec.rb' | ||
|
||
# Offense count: 1 | ||
# Cop supports --auto-correct. | ||
Style/UnneededInterpolation: | ||
Exclude: | ||
- 'spec/active_record/connection_adapters/percona_adapter_spec.rb' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters