rubocop-kata 0.2.0 → 0.2.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/CHANGELOG.md +7 -0
- data/config/default.yml +52 -0
- data/lib/rubocop/kata/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: bcd62857c9bdf3a905dd8031fdcfb6d36e635c20ebfa703073fe87289df9adb1
|
|
4
|
+
data.tar.gz: 9310dba88f9afad1c7cf22e7d323073a42a01aaeb17c853119416dfb88dc0f96
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 92af6db1491c46282a225b217a51e5644f2327eac59358d3b523ccd8fc5c7e3e2b7e75d97b89de3341dce9b69cb9ca2443a10211e646af1d9e7b33589eb7bd15
|
|
7
|
+
data.tar.gz: c36fa8cab9119c7a36a38df8bc7af5ab5ee194bd73b6b193beb7b3a06dd2195e462019b6ce534850a39f4406efe0e50c7a5daa55b4d5bbdc61d8bbc4f3717e3a
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.2.1] - 2026-08-13
|
|
4
|
+
|
|
5
|
+
- `Style/MethodCallWithArgsParentheses` disabled, overriding rubocop-elegant.
|
|
6
|
+
- Disabled nine core `Layout/*` cops that autocorrect-loop against `Elegant/PairedBrackets` and `Elegant/NoEmptyLines*`.
|
|
7
|
+
- `AutoCorrect: false` on `Elegant/NoRedundantVariable`, `Style/StaticClass`, and `Lint/NumberConversion` — their correctors rewrite code incorrectly.
|
|
8
|
+
- `Style/RequireOrder` disabled — alphabetizing requires breaks load-order-dependent boot.
|
|
9
|
+
|
|
3
10
|
## [0.2.0] - 2026-08-10
|
|
4
11
|
|
|
5
12
|
- Kata cops now run globally instead of only in `lib/**` — code in `app/`, `Rakefile`, etc. is now covered.
|
data/config/default.yml
CHANGED
|
@@ -110,6 +110,58 @@ Elegant/NoEmptyLinesInMethods:
|
|
|
110
110
|
Elegant/NoComments:
|
|
111
111
|
Enabled: false
|
|
112
112
|
|
|
113
|
+
Style/MethodCallWithArgsParentheses:
|
|
114
|
+
Enabled: false
|
|
115
|
+
|
|
116
|
+
# --- Core layout cops that autocorrect-loop against Elegant/PairedBrackets
|
|
117
|
+
# and Elegant/NoEmptyLines*; the Elegant cops win.
|
|
118
|
+
Layout/BlockAlignment:
|
|
119
|
+
Enabled: false
|
|
120
|
+
|
|
121
|
+
Layout/MultilineBlockLayout:
|
|
122
|
+
Enabled: false
|
|
123
|
+
|
|
124
|
+
Layout/ClosingParenthesisIndentation:
|
|
125
|
+
Enabled: false
|
|
126
|
+
|
|
127
|
+
Layout/FirstArgumentIndentation:
|
|
128
|
+
Enabled: false
|
|
129
|
+
|
|
130
|
+
Layout/MultilineMethodCallBraceLayout:
|
|
131
|
+
Enabled: false
|
|
132
|
+
|
|
133
|
+
Layout/MultilineArrayBraceLayout:
|
|
134
|
+
Enabled: false
|
|
135
|
+
|
|
136
|
+
Layout/MultilineHashBraceLayout:
|
|
137
|
+
Enabled: false
|
|
138
|
+
|
|
139
|
+
Layout/EmptyLinesAroundAccessModifier:
|
|
140
|
+
Enabled: false
|
|
141
|
+
|
|
142
|
+
Layout/EmptyLinesAfterModuleInclusion:
|
|
143
|
+
Enabled: false
|
|
144
|
+
|
|
145
|
+
# --- Correctors known to rewrite code incorrectly; report only.
|
|
146
|
+
# Inlines a variable past side effects (ivar resets, later statements) and
|
|
147
|
+
# corrupts Ruby 3.1 keyword shorthand.
|
|
148
|
+
Elegant/NoRedundantVariable:
|
|
149
|
+
AutoCorrect: false
|
|
150
|
+
|
|
151
|
+
# Rewrites reopened classes into modules, clashing with the primary
|
|
152
|
+
# class definition at boot.
|
|
153
|
+
Style/StaticClass:
|
|
154
|
+
AutoCorrect: false
|
|
155
|
+
|
|
156
|
+
# Turns lenient `.to_i` into strict Integer(x, 10), which raises on
|
|
157
|
+
# nils/Integers call sites legitimately receive.
|
|
158
|
+
Lint/NumberConversion:
|
|
159
|
+
AutoCorrect: false
|
|
160
|
+
|
|
161
|
+
# Alphabetizing requires breaks load-order-dependent boot sequences.
|
|
162
|
+
Style/RequireOrder:
|
|
163
|
+
Enabled: false
|
|
164
|
+
|
|
113
165
|
ThreadSafety/DirChdir:
|
|
114
166
|
Exclude:
|
|
115
167
|
- "spec/**/*"
|
data/lib/rubocop/kata/version.rb
CHANGED