rubocop-hk 1.2.2 → 1.3.0
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/bin/rubocop-hk +0 -0
- data/config/rubocop-performance.yml +4 -0
- data/config/rubocop-rails.yml +4 -4
- data/config/rubocop-rspec.yml +4 -0
- data/lib/rubocop/hk/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: b9f1dc1498a194ae06980b6872988457b32e5c8ddca4e7e65026c93cf3203513
|
|
4
|
+
data.tar.gz: 707276b37ca1e772b66d512f133da403fcfd2be25fcc12e11689610ff32af9d8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 55ce666f8e31b3bb13e40f05e3a9867830ecf46cd6bc531fef101e5824ed714ffb8ce4673e426498ca502914d1c51e08281ccd024bec7a4799b492da15c46c35
|
|
7
|
+
data.tar.gz: c0f8cd0782949676b558c10d1603933ad218873b31ec76ce66b891b3410124d198b4969a21629a648ad37829d45b0bd3c082d61c6b9d24b4d0ce7f9c8d67c21c
|
data/bin/rubocop-hk
CHANGED
|
File without changes
|
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
# Configuration for rubocop-performance plugin
|
|
3
3
|
# Focused on Ruby performance patterns for Rails 6.0+ applications
|
|
4
4
|
|
|
5
|
+
# Load the rubocop-performance plugin
|
|
6
|
+
plugins:
|
|
7
|
+
- rubocop-performance
|
|
8
|
+
|
|
5
9
|
# Note: Performance cops are now provided by the rubocop-performance gem
|
|
6
10
|
# This configuration file provides sensible defaults for performance-oriented development
|
|
7
11
|
|
data/config/rubocop-rails.yml
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
# Rails 6-8.x Configuration - Modern Best Practices for 2025
|
|
2
2
|
# Optimized for Rails 6.0-8.0+ applications with backward compatibility
|
|
3
3
|
|
|
4
|
+
# Load the rubocop-rails plugin
|
|
5
|
+
plugins:
|
|
6
|
+
- rubocop-rails
|
|
7
|
+
|
|
4
8
|
# ==========================================
|
|
5
9
|
# Core Rails Cops - Compatible with Rails 6-8.x
|
|
6
10
|
# ==========================================
|
|
@@ -227,10 +231,6 @@ Rails/ReversibleMigration:
|
|
|
227
231
|
Description: Ensure migrations are reversible
|
|
228
232
|
Enabled: true
|
|
229
233
|
|
|
230
|
-
Rails/SafeNavigation:
|
|
231
|
-
Description: Use safe navigation instead of try!
|
|
232
|
-
Enabled: true
|
|
233
|
-
|
|
234
234
|
Rails/SafeNavigationWithBlank:
|
|
235
235
|
Description: Avoid safe navigation with blank?
|
|
236
236
|
Enabled: true
|
data/config/rubocop-rspec.yml
CHANGED
data/lib/rubocop/hk/version.rb
CHANGED