rubocop-discourse 3.13.1 → 3.13.3
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/lib/rubocop/discourse/version.rb +1 -1
- data/rubocop-rails.yml +3 -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: 9dd760fae002d89a13b998aaf4077f886c31d8ea3afd66000b4921760e8e6768
|
4
|
+
data.tar.gz: 31c6b0d5198304e37ee23126d89ed1f0c739557f9e00dd64f7701e7b6797b267
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9bbb4b4dc1209b4408043fad8e6e2ba010c845da3f2b4c7029faa4b0fb0b4c4a9093624945ab08723646c49757d92e80a538c63ed688800c24ec49b1f10786f5
|
7
|
+
data.tar.gz: e03b63f14b554756ed2e39f5c1a8464f4caa6d358b0b009bb547133a56cc622a8b8785d5a1273305b212b16e0b79bc88374110724d803a1ca6fad802c60ae0d1
|
data/rubocop-rails.yml
CHANGED
@@ -58,6 +58,7 @@ Rails/Presence:
|
|
58
58
|
|
59
59
|
Rails/Present:
|
60
60
|
Enabled: true
|
61
|
+
NotNilAndNotEmpty: false # this one is based on an incorrect premise that empty? and blank? are equivalent
|
61
62
|
Exclude:
|
62
63
|
- "bin/*"
|
63
64
|
|
@@ -95,8 +96,9 @@ Rails/Validation:
|
|
95
96
|
Rails/UnusedRenderContent:
|
96
97
|
Enabled: true
|
97
98
|
|
99
|
+
# NOTE: This is unsafe due to a Rails bug (https://github.com/rails/rails/issues/55130)
|
98
100
|
Rails/WhereMissing:
|
99
|
-
Enabled:
|
101
|
+
Enabled: false
|
100
102
|
|
101
103
|
# NOTE: This is unsafe as the autofix breaks mini_sql code (that only looks like AR code)
|
102
104
|
Rails/WhereNot:
|