rubocop-erb 0.8.0 → 0.8.1
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/Gemfile.lock +1 -1
- data/config/default.yml +6 -0
- data/lib/rubocop/erb/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 749a40c8adb5dd91a43e0db5eb6e045e2772afcad6ed832090ab77dece2b8e3d
|
|
4
|
+
data.tar.gz: 04301b69ced5ca9e5a8e8e2f26f31972d3112ea63b17ba3b5c936c935c79e223
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bb18dff7fa5c47639da5301013d004703b7a68cb51d1a61caeae7be6a62091f7b94f84d97cc3ac4164ac6614d5f8679d1325b0949a277c07d7b00957bd8500b9
|
|
7
|
+
data.tar.gz: 8e07c760cfb7ac5bd4c41d3b8f368cb3f9171a64e815a9c19b41af585649ed344d46a257bd68b16cafbc99ac4d9486bda4f19894de48f50525699dc40b4b70db
|
data/Gemfile.lock
CHANGED
data/config/default.yml
CHANGED
|
@@ -175,6 +175,12 @@ Lint/Void:
|
|
|
175
175
|
Exclude:
|
|
176
176
|
- '**/*.erb'
|
|
177
177
|
|
|
178
|
+
# The HTML between ERB tags is dropped, so an `if` around an output tag
|
|
179
|
+
# looks like `if a.present?; a; end`.
|
|
180
|
+
Rails/Presence:
|
|
181
|
+
Exclude:
|
|
182
|
+
- '**/*.erb'
|
|
183
|
+
|
|
178
184
|
Style/EmptyElse:
|
|
179
185
|
Exclude:
|
|
180
186
|
- '**/*.erb'
|
data/lib/rubocop/erb/version.rb
CHANGED