Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
9a3a7490
Unverified
Commit
9a3a7490
authored
Jun 25, 2019
by
Alexandre Ardhuin
Committed by
GitHub
Jun 25, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sync lint list (#35017)
parent
1cf7b3e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
analysis_options.yaml
analysis_options.yaml
+13
-1
No files found.
analysis_options.yaml
View file @
9a3a7490
...
...
@@ -90,6 +90,7 @@ linter:
# - constant_identifier_names # needs an opt-out https://github.com/dart-lang/linter/issues/204
-
control_flow_in_finally
# - curly_braces_in_flow_control_structures # not yet tested
# - diagnostic_describe_all_properties # not yet tested
-
directives_ordering
-
empty_catches
-
empty_constructor_bodies
...
...
@@ -120,6 +121,7 @@ linter:
# - parameter_assignments # we do this commonly
-
prefer_adjacent_string_concatenation
-
prefer_asserts_in_initializer_lists
# - prefer_asserts_with_message # not yet tested
-
prefer_collection_literals
-
prefer_conditional_assignment
-
prefer_const_constructors
...
...
@@ -128,14 +130,20 @@ linter:
-
prefer_const_literals_to_create_immutables
# - prefer_constructors_over_static_methods # not yet tested
-
prefer_contains
# - prefer_double_quotes # opposite of prefer_single_quotes
-
prefer_equal_for_default_values
# - prefer_expression_function_bodies # conflicts with https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#consider-using--for-short-functions-and-methods
-
prefer_final_fields
# - prefer_final_in_for_each # not yet tested
-
prefer_final_locals
# - prefer_for_elements_to_map_fromIterable # not yet tested
-
prefer_foreach
# - prefer_function_declarations_over_variables # not yet tested
-
prefer_generic_function_type_aliases
# - prefer_if_elements_to_conditional_expressions # not yet tested
# - prefer_if_null_operators # not yet tested
-
prefer_initializing_formals
# - prefer_inlined_adds # not yet tested
# - prefer_int_literals # not yet tested
# - prefer_interpolation_to_compose_strings # not yet tested
-
prefer_is_empty
...
...
@@ -144,15 +152,17 @@ linter:
# - prefer_mixin # https://github.com/dart-lang/language/issues/32
# - prefer_null_aware_operators # disable until NNBD, see https://github.com/flutter/flutter/pull/32711#issuecomment-492930932
-
prefer_single_quotes
# - prefer_spread_collections # not yet tested
-
prefer_typing_uninitialized_variables
-
prefer_void_to_null
# - provide_deprecation_message # not yet tested
# - public_member_api_docs # enabled on a case-by-case basis; see e.g. packages/analysis_options.yaml
-
recursive_getters
-
slash_for_doc_comments
# - sort_child_properties_last # not yet tested
-
sort_constructors_first
-
sort_pub_dependencies
-
sort_unnamed_constructors_first
# - super_goes_last # no longer needed w/ Dart 2
-
test_types_in_equals
-
throw_in_finally
# - type_annotate_public_apis # subset of always_specify_types
...
...
@@ -171,6 +181,8 @@ linter:
-
unnecessary_statements
-
unnecessary_this
-
unrelated_type_equality_checks
# - unsafe_html # not yet tested
# - use_full_hex_values_for_flutter_colors # not yet tested
# - use_function_type_syntax_for_parameters # not yet tested
-
use_rethrow_when_possible
# - use_setters_to_change_properties # not yet tested
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment