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 # Configuration parameters: AllowSafeAssignment.
19 Lint/AssignmentInCondition:
21 - 'app/controllers/application_controller.rb'
22 - 'app/controllers/geocoder_controller.rb'
23 - 'app/controllers/notes_controller.rb'
24 - 'app/controllers/traces_controller.rb'
25 - 'app/controllers/user_controller.rb'
26 - 'app/controllers/user_preferences_controller.rb'
27 - 'app/helpers/application_helper.rb'
28 - 'app/helpers/browse_helper.rb'
29 - 'app/models/client_application.rb'
30 - 'app/models/notifier.rb'
33 - 'script/deliver-message'
36 Lint/HandleExceptions:
38 - 'app/controllers/amf_controller.rb'
39 - 'app/controllers/user_controller.rb'
42 Lint/ShadowingOuterLocalVariable:
44 - 'app/views/changeset/list.atom.builder'
51 # Configuration parameters: CountComments, ExcludedMethods.
56 # Configuration parameters: CountBlocks.
61 # Configuration parameters: CountComments.
66 Metrics/CyclomaticComplexity:
70 # Configuration parameters: CountComments.
75 # Configuration parameters: CountComments.
80 # Configuration parameters: CountKeywordArgs.
81 Metrics/ParameterLists:
85 Metrics/PerceivedComplexity:
89 Naming/AccessorMethodName:
91 - 'app/controllers/application_controller.rb'
92 - 'app/helpers/title_helper.rb'
93 - 'app/models/old_way.rb'
98 # Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist, MethodDefinitionMacros.
99 # NamePrefix: is_, has_, have_
100 # NamePrefixBlacklist: is_, has_, have_
101 # NameWhitelist: is_a?
102 # MethodDefinitionMacros: define_method, define_singleton_method
103 Naming/PredicateName:
106 - 'app/models/changeset.rb'
107 - 'app/models/old_node.rb'
108 - 'app/models/old_relation.rb'
109 - 'app/models/old_way.rb'
110 - 'app/models/user.rb'
111 - 'lib/classic_pagination/pagination.rb'
114 # Configuration parameters: Database, Include.
115 # SupportedDatabases: mysql, postgresql
116 # Include: db/migrate/*.rb
117 Rails/BulkChangeTable:
119 - 'db/migrate/20111116184519_update_oauth.rb'
120 - 'db/migrate/20120208122334_merge_acl_address_and_mask.rb'
121 - 'db/migrate/20120208194454_add_domain_to_acl.rb'
122 - 'db/migrate/20120404205604_add_user_and_description_to_redaction.rb'
125 # Configuration parameters: Include.
126 # Include: app/**/*.rb, config/**/*.rb, lib/**/*.rb
130 - 'lib/daemons/gpx_import.rb'
133 # Configuration parameters: Include.
134 # Include: app/models/**/*.rb
135 Rails/HasAndBelongsToMany:
137 - 'app/models/changeset.rb'
138 - 'app/models/user.rb'
141 # Configuration parameters: Include.
142 # Include: db/migrate/*.rb
145 - 'db/migrate/002_cleanup_osm_db.rb'
146 - 'db/migrate/020_populate_node_tags_and_remove.rb'
147 - 'db/migrate/021_move_to_innodb.rb'
148 - 'db/migrate/025_add_end_time_to_changesets.rb'
149 - 'db/migrate/20120404205604_add_user_and_description_to_redaction.rb'
154 - 'app/controllers/user_controller.rb'
155 - 'app/helpers/application_helper.rb'
156 - 'app/helpers/changeset_helper.rb'
157 - 'app/helpers/geocoder_helper.rb'
158 - 'app/helpers/note_helper.rb'
159 - 'app/helpers/open_graph_helper.rb'
160 - 'app/helpers/user_blocks_helper.rb'
161 - 'app/helpers/user_roles_helper.rb'
163 - 'test/helpers/application_helper_test.rb'
166 # Configuration parameters: EnforcedStyle.
167 # SupportedStyles: strict, flexible
172 # Configuration parameters: AllowedChars.
175 - 'test/models/message_test.rb'
182 # Cop supports --auto-correct.
183 Style/IfUnlessModifier:
185 - 'app/controllers/way_controller.rb'
188 # Cop supports --auto-correct.
189 # Configuration parameters: Strict.
190 Style/NumericLiterals:
193 # Offense count: 3064
194 # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
195 # URISchemes: http, https