itrg_rubocop_config 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f70dd4f64c07f4305f3f53acff3ca253c624b41a
4
- data.tar.gz: 1a0d085bb246d43fca0c20f5047fc51f73641840
3
+ metadata.gz: 8a18e23d37ccfa9e1d165f7449f4124c1b8624cc
4
+ data.tar.gz: 12ef748d4d029ed9ccd8e259b92814253efd57e3
5
5
  SHA512:
6
- metadata.gz: cbbde5e7d55201c7945a3daeac5b895269f23b2b8456953387b222a2f56454a6d8e451c486bcd0d9621efea6cdc532061248f73ab8f999721e4275c49beef67c
7
- data.tar.gz: 795610cb2db75a9f06f290d79262280d3f9045832191f399282c13ae16f4ee4d4f9eb29a07a190c020f1c1b0e8b5d5f575be13b526a62b75d033ab44f556a9d0
6
+ metadata.gz: 8a28217cd9af5aed2cbadae4fb08b9933eea1b199c4458fb4dcca3173f0e8caf1526b71b02fcdb132d37153e538a45c675980237719e5d47957a8916f71a4a1d
7
+ data.tar.gz: b8811cd816e92997c71b9f9bc669df07fe4d2511e6b19dcae4a77a8d11d83b41a908407dde25bfbf564fbdbbc20700a75432eb4a839dafb3c703accd5c2e9ff6
@@ -1,3 +1,3 @@
1
1
  module ItrgRubocopConfig
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.1'
3
3
  end
data/rails/rubocop.yml ADDED
@@ -0,0 +1,9 @@
1
+ inherit_from: ../ruby/rubocop.yml
2
+ AllCops:
3
+ Exclude:
4
+ - bin/**/*
5
+ - vendor/**/*
6
+ - scripts/**/*
7
+ - db/schema.rb
8
+ Rails:
9
+ Enabled: true
data/ruby/rubocop.yml ADDED
@@ -0,0 +1,53 @@
1
+ Documentation:
2
+ Enabled: false
3
+
4
+ Layout/MultilineOperationIndentation:
5
+ Enabled: false
6
+
7
+ Metrics/AbcSize:
8
+ Enabled: false
9
+
10
+ Metrics/ClassLength:
11
+ Max: 150
12
+
13
+ Metrics/CyclomaticComplexity:
14
+ Enabled: false
15
+
16
+ Metrics/LineLength:
17
+ AllowURI: true
18
+ Max: 120
19
+ URISchemes:
20
+ - http
21
+ - https
22
+
23
+ Metrics/MethodLength:
24
+ Max: 20
25
+
26
+ Metrics/PerceivedComplexity:
27
+ Enabled: false
28
+
29
+ Rails:
30
+ Enabled: true
31
+
32
+ Style/Encoding:
33
+ Description: Use UTF-8 as the source file encoding.
34
+ Enabled: false
35
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#utf-8'
36
+
37
+ Layout/ExtraSpacing:
38
+ Description: Do not use unnecessary spacing.
39
+ Enabled: true
40
+
41
+ Style/FrozenStringLiteralComment:
42
+ Description: This cop is designed to help upgrade to Ruby 3.0
43
+ Enabled: false
44
+
45
+ Style/IfUnlessModifier:
46
+ MaxLineLength: 120
47
+
48
+ Style/InlineComment:
49
+ Description: Avoid inline comments.
50
+ Enabled: false
51
+
52
+ Style/WhileUntilModifier:
53
+ MaxLineLength: 100
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: itrg_rubocop_config
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Brodie
@@ -23,6 +23,8 @@ files:
23
23
  - lib/itrg_rubocop_config.rb
24
24
  - lib/itrg_rubocop_config/version.rb
25
25
  - lib/tasks/itrg_rubocop_config_tasks.rake
26
+ - rails/rubocop.yml
27
+ - ruby/rubocop.yml
26
28
  homepage: https://github.com/InfoTech/itrg_rubocop_config
27
29
  licenses:
28
30
  - MIT