rubocop-athix 0.0.7 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +16 -0
- data/config/gems.yml +8 -0
- data/config/rails.yml +8 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 76aaf6dcd8f565a00f9fecc8a786a5b4840a8e8bc8ca04701a67c1297c258bd4
|
4
|
+
data.tar.gz: 998684715fd5e0a8b4c06513398c5c56de28cd1a6ca2011b9f6cc8f9236db031
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8679e4f588fb2b1498431f979d7f225e1cbebf1d1ca9111fab0dd5bb12f26acb32bad7c71f8a9f0443fd30567a03b1383df5cf8b266995d94a9d112e7c7a6d7b
|
7
|
+
data.tar.gz: b5e26756dcdfae17c48bc868d962a6c60d9d8b2e4d451a2864d2fd9ce66035fa1fc574d6368d360a8991030ef0bec2fd8b25b1de912e3244f7e7906553e43cf0
|
data/README.md
CHANGED
@@ -2,6 +2,22 @@
|
|
2
2
|
|
3
3
|
Contains my commonly used styling overrides for Rubocop.
|
4
4
|
|
5
|
+
## Adding additional Excludes
|
6
|
+
|
7
|
+
Inherit mode does not get inherited, meaning you'll need to add the following to
|
8
|
+
your config if you overwrite the Exclude and want it to append rather than
|
9
|
+
replace:
|
10
|
+
|
11
|
+
```yaml
|
12
|
+
##
|
13
|
+
# Merge instead of overwriting. For more details, see:
|
14
|
+
# https://docs.rubocop.org/rubocop/configuration.html#merging-arrays-using-inherit_mode
|
15
|
+
#
|
16
|
+
inherit_mode:
|
17
|
+
merge:
|
18
|
+
- Exclude
|
19
|
+
```
|
20
|
+
|
5
21
|
## Usage
|
6
22
|
|
7
23
|
### Rails Applications
|
data/config/gems.yml
CHANGED
data/config/rails.yml
CHANGED
@@ -8,6 +8,14 @@ require:
|
|
8
8
|
- rubocop-rake
|
9
9
|
- rubocop-rspec
|
10
10
|
|
11
|
+
##
|
12
|
+
# Merge instead of overwriting. For more details, see:
|
13
|
+
# https://docs.rubocop.org/rubocop/configuration.html#merging-arrays-using-inherit_mode
|
14
|
+
#
|
15
|
+
inherit_mode:
|
16
|
+
merge:
|
17
|
+
- Exclude
|
18
|
+
|
11
19
|
AllCops:
|
12
20
|
Exclude:
|
13
21
|
- 'bin/**/*'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-athix
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josh Buker
|
@@ -128,8 +128,8 @@ licenses:
|
|
128
128
|
- MIT
|
129
129
|
metadata:
|
130
130
|
bug_tracker_uri: https://github.com/athix/rubocop-athix/issues
|
131
|
-
changelog_uri: https://github.com/athix/rubocop-athix/releases/tag/v0.0.
|
132
|
-
source_code_uri: https://github.com/athix/rubocop-athix/tree/v0.0.
|
131
|
+
changelog_uri: https://github.com/athix/rubocop-athix/releases/tag/v0.0.8
|
132
|
+
source_code_uri: https://github.com/athix/rubocop-athix/tree/v0.0.8
|
133
133
|
post_install_message:
|
134
134
|
rdoc_options: []
|
135
135
|
require_paths:
|