hint-rubocop_style 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +12 -0
- data/default.yml +1 -15
- data/lib/hint/rubocop_style/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed8954d4fc6132a2940c47d72c87abbf3fc53db7
|
4
|
+
data.tar.gz: df06b242afc8b86372bc73a79fe2290218917414
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a64d693a0b44f22f6a7328c4a37a1c97233a1f2ecd258bb9427bc3a9f35da8f0b4f2c2538adc9581ec400a377df696a7b6d455031fcb5740cd8bcf488d91e6de
|
7
|
+
data.tar.gz: b3c40f072ba5d7d68ea7b5b92186cb9e5fa6f1728a1c728e6143b5f380857578a2756d0c0e1d74ee607f37068e360520fe0b9ec5046b431dbaf3088832f7e842
|
data/README.md
CHANGED
@@ -33,6 +33,18 @@ inherit_gem:
|
|
33
33
|
AllCops:
|
34
34
|
TargetRubyVersion: PROJECT_RUBY_VERSION
|
35
35
|
TargetRailsVersion: PROJECT_RAILS_VERSION
|
36
|
+
DisplayCopNames: true
|
37
|
+
Include:
|
38
|
+
- '**/Rakefile'
|
39
|
+
- '**/config.ru'
|
40
|
+
Exclude:
|
41
|
+
- 'bin/**/*'
|
42
|
+
- 'config/**/*'
|
43
|
+
- 'db/**/*'
|
44
|
+
- 'Gemfile*'
|
45
|
+
- 'script/**/*'
|
46
|
+
- 'test/**/*'
|
47
|
+
- 'vendor/**/*'
|
36
48
|
```
|
37
49
|
|
38
50
|
If there are project specific styles you can override the Hint gem by adding them to `.rubocop.yml`
|
data/default.yml
CHANGED
@@ -2,20 +2,6 @@
|
|
2
2
|
# inherit_from: .rubocop_todo.yml
|
3
3
|
require: rubocop-rspec
|
4
4
|
|
5
|
-
AllCops:
|
6
|
-
DisplayCopNames: true
|
7
|
-
Include:
|
8
|
-
- '**/Rakefile'
|
9
|
-
- '**/config.ru'
|
10
|
-
Exclude:
|
11
|
-
- 'bin/**/*'
|
12
|
-
- 'config/**/*'
|
13
|
-
- 'db/**/*'
|
14
|
-
- 'Gemfile*'
|
15
|
-
- 'script/**/*'
|
16
|
-
- 'test/**/*'
|
17
|
-
- 'vendor/**/*'
|
18
|
-
|
19
5
|
Rails:
|
20
6
|
Enabled: true
|
21
7
|
|
@@ -120,5 +106,5 @@ RSpec/LetSetup:
|
|
120
106
|
Security/YAMLLoad:
|
121
107
|
Enabled: false
|
122
108
|
|
123
|
-
|
109
|
+
Style/FileName:
|
124
110
|
Enabled: false
|