rubocop-discourse 3.13.0 → 3.13.2
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 +4 -2
- 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: 054b82559613949764299baebb4076fac1748c98be473501e26d9c96a5a743fd
|
4
|
+
data.tar.gz: 4d08facd6d9daf00af0ca78a3c68d9f84855ad8e1f74101521fea3152c9a9935
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b5ad263d40354c3a3b9f8fe5d49b3496277b072eb017bc8c5f337eea131e1beb8d191fa90bf2009d8f36da2769fff3f7cda1a5b9254327fc92e0c899322831c
|
7
|
+
data.tar.gz: f391eae2b5bc57e5b62bb237d3fd3bbabd159a1a75da26a9e59211cf56eab3ed92a6813b844395bd9cc63f44e0bf718ca446baaaf6bcfa41ec7a878dd4409e8d
|
data/rubocop-rails.yml
CHANGED
@@ -95,11 +95,13 @@ Rails/Validation:
|
|
95
95
|
Rails/UnusedRenderContent:
|
96
96
|
Enabled: true
|
97
97
|
|
98
|
+
# NOTE: This is unsafe due to a Rails bug (https://github.com/rails/rails/issues/55130)
|
98
99
|
Rails/WhereMissing:
|
99
|
-
Enabled:
|
100
|
+
Enabled: false
|
100
101
|
|
102
|
+
# NOTE: This is unsafe as the autofix breaks mini_sql code (that only looks like AR code)
|
101
103
|
Rails/WhereNot:
|
102
|
-
Enabled:
|
104
|
+
Enabled: false
|
103
105
|
|
104
106
|
Rails/ActiveRecordCallbacksOrder:
|
105
107
|
Enabled: true
|