Skip to content

Commit 61a5879

Browse files
authored
Merge pull request #39 from FLiPp3r90/master
Update PostgreSQL Baseline
2 parents 82361f9 + b98b5e9 commit 61a5879

File tree

3 files changed

+154
-106
lines changed

3 files changed

+154
-106
lines changed

Diff for: .rubocop.yml

+12-4
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,35 @@
22
AllCops:
33
Exclude:
44
- vendor/**/*
5-
Style/Encoding:
6-
Enabled: false
75
Documentation:
86
Enabled: false
9-
ParameterAlignment:
7+
Layout/ParameterAlignment:
108
Enabled: true
119
HashSyntax:
1210
Enabled: true
1311
LineLength:
1412
Enabled: false
1513
EmptyLinesAroundBlockBody:
1614
Enabled: false
15+
Style/Encoding:
16+
Enabled: false
1717
MethodLength:
1818
Max: 40
1919
NumericLiterals:
2020
MinDigits: 10
2121
Metrics/BlockLength:
22-
Max: 42
22+
Max: 45 # needed for 6.1.1
2323
Metrics/CyclomaticComplexity:
2424
Max: 10
2525
Metrics/PerceivedComplexity:
2626
Max: 10
2727
Metrics/AbcSize:
2828
Max: 30
29+
# Lint/AmbiguousBlockAssociation is incompatible with RSpec
30+
# https://github.com/rubocop-hq/rubocop/issues/4222
31+
Lint/AmbiguousBlockAssociation:
32+
Enabled: false
33+
Lint/AmbiguousRegexpLiteral:
34+
Enabled: false
35+
Style/NumericPredicate:
36+
Enabled: false

Diff for: Rakefile

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# frozen_string_literal: true
22

3-
#!/usr/bin/env rake
4-
# encoding: utf-8
3+
# !/usr/bin/env rake
54

65
require 'rake/testtask'
76
require 'rubocop/rake_task'

0 commit comments

Comments
 (0)