forked from chef-boneyard/database
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.rubocop.yml
27 lines (24 loc) · 1015 Bytes
/
.rubocop.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# rubocop todo and an exclusion for a bug it introduces
#
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2017-01-17 13:12:12 -0800 using RuboCop version 0.46.0.
# 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.
# Configuration parameters: MinBodyLength.
Style/GuardClause:
Exclude:
- 'libraries/provider_database_postgresql_schema.rb'
- 'libraries/provider_database_postgresql_user.rb'
- 'libraries/provider_database_sql_server.rb'
- 'libraries/provider_database_sqlite.rb'
Style/MultilineTernaryOperator:
Exclude:
- 'libraries/provider_database_postgresql.rb'
# rubocop will introduce a bug if you allow it to fix this
# Cop supports --auto-correct.
Style/ZeroLengthPredicate:
Exclude:
- 'libraries/provider_database_mysql_user.rb'