-
Notifications
You must be signed in to change notification settings - Fork 170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
☂️ process: define a lint proposal process #3011
Comments
/cc @parlough @a14n @asashour @incendial @duttaoindril for any feedback |
I like the new proposal template. I'm curious if it would worth adding to the discussion check list a note around the feasibility and functionality of potential quick fixes. Any lint where a quick fix is feasible and makes sense in most(preferably all) situations is often more valuable in my eyes. |
💯 I forgot to add this but it's a great discussion point. Feel free to add something? (Or I can later...) Thanks a million @parlough! |
The template looks great, but maybe it's worth adding some examples of good existing proposals to let the author better understand the requirements for each block? While working on custom lints we came up to a separate proposal for a rule change. It helps better identify such proposals and prioritise them better (usually, suggestions to change requires less effort, than creating a new rule). Have you thought about a proposal for a rule change or it's a rare case? As for statuses, from my perspective, it's very helpful to have As for kinds, if I'm not mistaken, there are only 3 severity types available (info, warning, error). What do you think about providing the ability to choose one of them? Additionally, there can be |
Absolutely! I'll back-fill #3008 and we can start with that (and add more as they get written).
Good point. For us lint changes are actually potentially a lot of work. In particular if an existing lint is changed to flag code that it did not before it can actually prevent us from rolling the Dart SDK into Flutter and our internal repo. (This is why we have a
Great point. Added.
Actually severities are fixed for lints but you're right that there are only a fixed number of kinds (error, style, and pub?) so maybe a chooser is better. Having said that we've discussed changing kinds to be more like tags (#1020) and every time it comes up I'm reminded how nice it would be... Thanks so much for your generous feedback. Please keep it coming! |
Nothing to add on my side. The template seems good to me. 👍 |
Thanks for mentioning, I was surprised, to be honest 😄
I really like the idea of tags too! Do you plan to deprecate the |
I think both have their own role, with many users not feeling comfortable completing an entire proposal, or not being able to own that work. The descriptions could be modified slightly to expand on their differences though. |
Exactly my thinking.
💯 |
Tracking issue for a light-weight process that brings lint requests that are (intentionally) loose and open-ended to actionable proposals.
Goals
The process should be
encourage feedback from
and help measure buy-in from
Ultimately the goal is to introduce exactly as much process as would benefit taking a lint rule idea to something that might be implemented and widely adopted.
Tasks
lint proposal
,status: pending
,status: accepted
,status: closed
The text was updated successfully, but these errors were encountered: