-
Notifications
You must be signed in to change notification settings - Fork 10
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
Potential issues with defined lints sets #737
Comments
@pq @munificent @goderbauer are all these omissions intentional? |
I don't have any info on the other recommended items. I assume this repo was mostly a straight copy from https://github.com/dart-lang/linter/tree/master/tool/canonical ? |
Additionally, All the other lints you're listing under "Recommended lints" are actually part of the core.yaml set (https://github.com/dart-lang/lints/blob/1f80da49abf8b4ea15461e42ebb09eb51917b49d/lib/core.yaml), which is imported from recommended.yaml: So all the lints listed in the issue (with the noted exceptions of |
Sorry, my bad, that was a flaw of the way I did my diff. |
How about I close this issue, but open three new tracking issues for each of |
That would be great. |
I compared the lints listed in the yaml files here against my internal notes, and I'm seeing the following potential issues:
Core lints
Missing from this repo
always_declare_return_types
unawaited_futures
Recommended lints
avoid_empty_else
avoid_private_typedef_functions
avoid_relative_lib_imports
avoid_shadowing_type_parameters
avoid_types_as_parameter_names
await_only_futures
camel_case_extensions
camel_case_types
curly_braces_in_flow_control_structures
empty_catches
file_names
hash_and_equals
iterable_contains_unrelated_type
list_remove_unrelated_type
no_duplicate_case_values
non_constant_identifier_names
omit_local_variable_types
package_prefixed_library_names
prefer_generic_function_type_aliases
prefer_is_empty
prefer_is_not_empty
prefer_iterable_whereType
prefer_mixin
prefer_typing_uninitialized_variables
provide_deprecation_message
unnecessary_overrides
unrelated_type_equality_checks
use_rethrow_when_possible
valid_regexps
void_checks
The text was updated successfully, but these errors were encountered: