flutter_corelibrary icon indicating copy to clipboard operation
flutter_corelibrary copied to clipboard

[leancode_lint] Allow custom parameter names in `catch_parameter_names` rule

Open NattyPluz opened this issue 6 months ago • 1 comments

Currently, the catch_parameter_names lint rule restricts parameter names to err and st. To increase flexibility and accommodate various coding standards, it would be beneficial to support custom parameter names in the lint configuration.

NattyPluz avatar Jun 13 '25 17:06 NattyPluz

Thanks for raising this issue — it’s indeed a good suggestion to provide some configuration options to this lint. We’re open to the idea and will consider adding support for custom parameter names in the config. That said, we like to use one standard for all of our projects and we're not planning to change it right now, so if you need it sooner, feel free to open a PR — we’d really appreciate it!

mchudy avatar Jul 18 '25 12:07 mchudy