Open ochafik opened 8 years ago
Note: for dart-linter, example .linter_options
:
rules:
style_guide:
# no_implicit_dynamic: true # See https://github.com/dart-lang/linter/pull/262
always_declare_return_types: true
always_specify_types: true
annotate_overrides: true
avoid_as: true
avoid_empty_else: true
avoid_init_to_null: true
avoid_return_types_on_setters: true
await_only_futures: true
camel_case_types: true
comment_references: true
constant_identifier_names: true
control_flow_in_finally: true
dont_compare_unrelated_types_for_equality: true
empty_constructor_bodies: true
hash_and_equals: true
implementation_imports: true
iterable_contains_unrelated_type: true
library_names: true
library_prefixes: true
non_constant_identifier_names: true
one_member_abstracts: true
overriden_field: true
package_api_docs: true
package_prefixed_library_names: true
prefer_is_not_empty: true
pub/package_names: true
public_member_api_docs: true
slash_for_doc_comments: true
sort_constructors_first: true
sort_unnamed_constructors_first: true
super_goes_last: true
test_types_in_equals: true
throw_in_finally: true
type_annotate_public_apis: true
type_init_formals: true
unawaited_futures: true
unnecessary_brace_in_string_interp: true
unnecessary_getters_setters: true
unrelated_type_equality_checks: true
Example content for
.analysis_options
: