File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 2
2
3
3
## Master (Unreleased)
4
4
5
+ - Support ` AutoCorrect: contextual ` option for LSP. ([ @ydah ] )
6
+
5
7
## 2.28.3 (2024-04-11)
6
8
7
9
- Fix an error for Ambiguous cop name ` RSpec/Rails/HttpStatus ` . ([ @ydah ] )
Original file line number Diff line number Diff line change @@ -66,13 +66,15 @@ RSpecRails/MinitestAssertions:
66
66
67
67
RSpecRails/NegationBeValid :
68
68
Description : Enforces use of `be_invalid` or `not_to` for negated be_valid.
69
+ AutoCorrect : contextual
69
70
Safe : false
70
71
EnforcedStyle : not_to
71
72
SupportedStyles :
72
73
- not_to
73
74
- be_invalid
74
75
Enabled : pending
75
76
VersionAdded : ' 2.23'
77
+ VersionChanged : " <<next>>"
76
78
Reference : https://www.rubydoc.info/gems/rubocop-rspec_rails/RuboCop/Cop/RSpecRails/NegationBeValid
77
79
78
80
RSpecRails/TravelAround :
Original file line number Diff line number Diff line change @@ -321,9 +321,9 @@ expect(a).to be(false)
321
321
322
322
| Pending
323
323
| No
324
- | Always (Unsafe)
324
+ | Command-line only (Unsafe)
325
325
| 2.23
326
- | -
326
+ | <<next>>
327
327
|===
328
328
329
329
Enforces use of `be_invalid` or `not_to` for negated be_valid.
You can’t perform that action at this time.
0 commit comments