ragnarson-stylecheck 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/config/rubocop.yml +9 -18
  3. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6c362db322dac2b1caaccd8af75d793c8c29ae1a
4
- data.tar.gz: a74519ab6dee820ebf1958266a32029d61284c6b
3
+ metadata.gz: 5f9e3cdc2b68ad0c39299e03d8a222ea84b19511
4
+ data.tar.gz: b5338cd79efa5eb9d85c42d8708049a199a87d22
5
5
  SHA512:
6
- metadata.gz: d9734460dbe25ce9ae4794d91daa5125bfa78edece1970e439fbbe5e23ec84bce806bd51c768ee7da7a376258ca4700cd0451b6e0639e8213ed88d3ccebd1e00
7
- data.tar.gz: 2513d7fd30d7e1d2da6ec0c52b4f6c3e47d627074f52ab845328f4914bd8809dc2da3885ba836806d2397e1d41d53211164f2a47897e3d07c288575ee1290576
6
+ metadata.gz: 682a16ebbdbc3be48feae9ba06b4ef577beab015e76c45579b9aa3def4ab023399e7bf649e49882e56b8e8d6d82aa3467829ecc2cf01b0d0feef5d1b2c1e6bed
7
+ data.tar.gz: cc4e27b2b24cdd74a0718e50c2a1037b7f456bf092c6b5d44879ac3019d081af512f5e88c01eb8c3addbabb804088760f6da89894fe81b4847e86e6c12385bff
data/config/rubocop.yml CHANGED
@@ -1,5 +1,6 @@
1
- Style/AlignParameters:
2
- EnforcedStyle: with_fixed_indentation
1
+ Style/AlignHash:
2
+ EnforcedHashRocketStyle: table
3
+ EnforcedColonStyle: table
3
4
 
4
5
  Style/ClassAndModuleChildren:
5
6
  Enabled: false
@@ -18,18 +19,11 @@ Style/EmptyLines:
18
19
  Exclude:
19
20
  - Gemfile
20
21
 
21
- # Checks whether the source file has a utf-8 encoding comment or not
22
- Style/Encoding:
23
- Enabled: false
24
-
25
22
  Style/FrozenStringLiteralComment:
26
23
  Enabled: false
27
24
 
28
- Style/InlineComment:
29
- Enabled: false
30
-
31
- Style/MultilineBlockChain:
32
- Enabled: false
25
+ Style/MultilineHashBraceLayout:
26
+ EnforcedStyle: same_line
33
27
 
34
28
  Style/MultilineMethodCallIndentation:
35
29
  EnforcedStyle: indented
@@ -44,10 +38,6 @@ Style/FormatString:
44
38
  Style/IfUnlessModifier:
45
39
  MaxLineLength: 120
46
40
 
47
- Style/Semicolon:
48
- # Allow ; to separate several expressions on the same line.
49
- AllowAsExpressionSeparator: true
50
-
51
41
  Style/StringLiterals:
52
42
  EnforcedStyle: double_quotes
53
43
  Exclude:
@@ -67,9 +57,6 @@ Style/RaiseArgs:
67
57
  Style/AndOr:
68
58
  EnforcedStyle: conditionals
69
59
 
70
- Style/EachWithObject:
71
- Enabled: false
72
-
73
60
  Lint/AssignmentInCondition:
74
61
  Enabled: false
75
62
 
@@ -91,6 +78,10 @@ Metrics/LineLength:
91
78
  - http
92
79
  - https
93
80
 
81
+ Metrics/ParameterLists:
82
+ Max: 5
83
+ CountKeywordArgs: false
84
+
94
85
  ##################### Rails ##################################
95
86
 
96
87
  AllCops:
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ragnarson-stylecheck
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Grzesiek Kołodziejczyk
@@ -47,14 +47,14 @@ dependencies:
47
47
  requirements:
48
48
  - - "~>"
49
49
  - !ruby/object:Gem::Version
50
- version: 0.37.2
50
+ version: 0.42.0
51
51
  type: :runtime
52
52
  prerelease: false
53
53
  version_requirements: !ruby/object:Gem::Requirement
54
54
  requirements:
55
55
  - - "~>"
56
56
  - !ruby/object:Gem::Version
57
- version: 0.37.2
57
+ version: 0.42.0
58
58
  description: Wraps rubocop for simple and consisten experience
59
59
  email: oskarszrajer@gmail.com
60
60
  executables: []
@@ -90,7 +90,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
90
90
  version: '0'
91
91
  requirements: []
92
92
  rubyforge_project:
93
- rubygems_version: 2.6.3
93
+ rubygems_version: 2.6.6
94
94
  signing_key:
95
95
  specification_version: 4
96
96
  summary: Automatic style check for ragnarson projects