1 # This configuration was generated by
2 # `rubocop --auto-gen-config`
3 # on 2018-06-19 09:02:55 +0100 using RuboCop version 0.57.2.
4 # The point is for the user to remove these configuration records
5 # one by one as the offenses are removed from the code base.
6 # Note that changes in the inspected code, or installation of new
7 # versions of RuboCop, may require this file to be generated again.
10 Lint/AmbiguousOperator:
12 - 'test/controllers/amf_controller_test.rb'
13 - 'test/controllers/changeset_controller_test.rb'
14 - 'test/lib/bounding_box_test.rb'
15 - 'test/lib/country_test.rb'
18 Lint/AmbiguousRegexpLiteral:
22 # Configuration parameters: AllowSafeAssignment.
23 Lint/AssignmentInCondition:
25 - 'app/controllers/application_controller.rb'
26 - 'app/controllers/geocoder_controller.rb'
27 - 'app/controllers/notes_controller.rb'
28 - 'app/controllers/traces_controller.rb'
29 - 'app/controllers/user_controller.rb'
30 - 'app/controllers/user_preferences_controller.rb'
31 - 'app/helpers/application_helper.rb'
32 - 'app/helpers/browse_helper.rb'
33 - 'app/models/client_application.rb'
34 - 'app/models/notifier.rb'
37 - 'script/deliver-message'
40 Lint/HandleExceptions:
42 - 'app/controllers/amf_controller.rb'
43 - 'app/controllers/user_controller.rb'
46 Lint/ShadowingOuterLocalVariable:
48 - 'app/views/changeset/list.atom.builder'
55 # Configuration parameters: CountComments, ExcludedMethods.
60 # Configuration parameters: CountBlocks.
65 # Configuration parameters: CountComments.
70 Metrics/CyclomaticComplexity:
74 # Configuration parameters: CountComments.
79 # Configuration parameters: CountComments.
84 # Configuration parameters: CountKeywordArgs.
85 Metrics/ParameterLists:
89 Metrics/PerceivedComplexity:
93 Naming/AccessorMethodName:
95 - 'app/controllers/application_controller.rb'
96 - 'app/helpers/title_helper.rb'
97 - 'app/models/old_way.rb'
102 # Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist, MethodDefinitionMacros.
103 # NamePrefix: is_, has_, have_
104 # NamePrefixBlacklist: is_, has_, have_
105 # NameWhitelist: is_a?
106 # MethodDefinitionMacros: define_method, define_singleton_method
107 Naming/PredicateName:
110 - 'app/models/changeset.rb'
111 - 'app/models/old_node.rb'
112 - 'app/models/old_relation.rb'
113 - 'app/models/old_way.rb'
114 - 'app/models/user.rb'
115 - 'lib/classic_pagination/pagination.rb'
118 # Configuration parameters: Database, Include.
119 # SupportedDatabases: mysql, postgresql
120 # Include: db/migrate/*.rb
121 Rails/BulkChangeTable:
123 - 'db/migrate/20111116184519_update_oauth.rb'
124 - 'db/migrate/20120208122334_merge_acl_address_and_mask.rb'
125 - 'db/migrate/20120208194454_add_domain_to_acl.rb'
126 - 'db/migrate/20120404205604_add_user_and_description_to_redaction.rb'
129 # Configuration parameters: Include.
130 # Include: app/**/*.rb, config/**/*.rb, lib/**/*.rb
134 - 'lib/daemons/gpx_import.rb'
137 # Configuration parameters: Include.
138 # Include: app/models/**/*.rb
139 Rails/HasAndBelongsToMany:
141 - 'app/models/changeset.rb'
142 - 'app/models/user.rb'
145 # Configuration parameters: Include.
146 # Include: db/migrate/*.rb
149 - 'db/migrate/002_cleanup_osm_db.rb'
150 - 'db/migrate/020_populate_node_tags_and_remove.rb'
151 - 'db/migrate/021_move_to_innodb.rb'
152 - 'db/migrate/025_add_end_time_to_changesets.rb'
153 - 'db/migrate/20120404205604_add_user_and_description_to_redaction.rb'
158 - 'app/controllers/user_controller.rb'
159 - 'app/helpers/application_helper.rb'
160 - 'app/helpers/changeset_helper.rb'
161 - 'app/helpers/geocoder_helper.rb'
162 - 'app/helpers/note_helper.rb'
163 - 'app/helpers/open_graph_helper.rb'
164 - 'app/helpers/user_blocks_helper.rb'
165 - 'app/helpers/user_roles_helper.rb'
167 - 'test/helpers/application_helper_test.rb'
170 # Configuration parameters: EnforcedStyle.
171 # SupportedStyles: strict, flexible
176 # Configuration parameters: AllowedChars.
179 - 'test/models/message_test.rb'
186 # Cop supports --auto-correct.
187 Style/IfUnlessModifier:
189 - 'app/controllers/way_controller.rb'
192 # Cop supports --auto-correct.
193 # Configuration parameters: Strict.
194 Style/NumericLiterals:
197 # Offense count: 3064
198 # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
199 # URISchemes: http, https