RuboCop 2.0 roadmap #10726
Replies: 9 comments 21 replies
-
|
Speaking of the "significantly faster (e.g. 2 times faster than it currently is)" goal. I bet that this can be achieved by switching to |
Beta Was this translation helpful? Give feedback.
-
I certainly like this, although we'd have to build first a list of proposed changes for 2.0 on this front. Perhaps we can also disable some of the more controversial cops that people have been complaining about. Generally for me the presets were mostly an incentive for us to analyzing the current defaults and improve them. I certainly don't want to solve all the problems that exist in RuboCop 2.0, so I'm open to cutting some release sooner, provided there are going to be meaningful gains for the end users from whatever breaking changes we decide to do. Let's see how the others feel about the road to RuboCop 2 as well. |
Beta Was this translation helpful? Give feedback.
-
I really like this idea. |
Beta Was this translation helpful? Give feedback.
-
Is it |
Beta Was this translation helpful? Give feedback.
-
|
(I'll post different thought as separate posts, to be able discuss separately, sorry to bothering) Also I'd think about inherit_mode:
merge:
- Include
- Exclude |
Beta Was this translation helpful? Give feedback.
-
I have a presets proof of concept, but the branch is, I think, 3 years old now, so might no longer be usable. 😅
I'm a bit weary about this giant can of worms as this might invite the entire internet to unleash their pent up opinions on what the defaults should be (I think it gives people some sort of validation they are "right" about something mostly subjective.) Maybe if we decide that there's no debate, but whatever causes the fewest offenses in There's a huge chore for people to upgrade if they have to manually figure out the old defaults and replicate them in their configuration files though. |
Beta Was this translation helpful? Give feedback.
-
|
Another thing that came to mind is when we implement presets, we should remove library-specific configuration like this from the default configuration. 🙂 |
Beta Was this translation helpful? Give feedback.
-
68 new cops to the moment. If extensions follow with major releases, also 50 new cops from With 395 enabled core cops, 65 in |
Beta Was this translation helpful? Give feedback.
-
|
I've shared a proposal for a different approach than presets: Enable new cops on a quarterly cadence starting with RuboCop 2.0 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Some ideas outlined by Bozhidar in a blog post:
I'd coin one idea to the list:
The reason is outlined in this comment. Basically, the current enforced style causes 4x more offences than an alternative style. This goes against the following mission statements:
On the one hand, it would be quite appealing if 2.0 was a release with groundbreaking features.
On the other hand, it's been more than 1.5 years since RuboCop 1.0 release. Presently, there are 60 cops in Enabled: pending status. Except for those with the
NewCops: enable"brave early adopter" setting, this would put a major burden during upgrade to RuboCop 2.0.I'd stress releasing early, and postpone the performance improvements to a minor version.
And 2.0 will be a festive release presenting 60 fresh recruit cops. With extensions to supposedly follow the major release with 18 new cops in
rubocop-railsand 10 new cops inrubocop-rspec.There are a few tickets in the 2.0 milestone, mostly related to breaking (not ground-breaking) changes.
Beta Was this translation helpful? Give feedback.
All reactions