flutter_corelibrary
flutter_corelibrary copied to clipboard
[leancode_lint] Allow custom parameter names in `catch_parameter_names` rule
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.
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!