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
6e06fd2d
Unverified
Commit
6e06fd2d
authored
May 31, 2018
by
Alexandre Ardhuin
Committed by
GitHub
May 31, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update some lints comments (#18058)
parent
fba81d0f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
analysis_options.yaml
analysis_options.yaml
+3
-3
analysis_options_repo.yaml
analysis_options_repo.yaml
+3
-3
No files found.
analysis_options.yaml
View file @
6e06fd2d
...
...
@@ -55,12 +55,12 @@ linter:
# - avoid_catches_without_on_clauses # we do this commonly
# - avoid_catching_errors # we do this commonly
-
avoid_classes_with_only_static_members
# - avoid_double_and_int_checks #
not yet tested
# - avoid_double_and_int_checks #
only useful when targeting JS runtime
-
avoid_empty_else
# - avoid_field_initializers_in_const_classes # not yet tested
-
avoid_function_literals_in_foreach_calls
-
avoid_init_to_null
# - avoid_js_rounded_ints #
not yet tested
# - avoid_js_rounded_ints #
only useful when targeting JS runtime
-
avoid_null_checks_in_equality_operators
# - avoid_positional_boolean_parameters # not yet tested
# - avoid_private_typedef_functions # we prefer having typedef (discussion in https://github.com/flutter/flutter/pull/16356)
...
...
@@ -126,7 +126,7 @@ linter:
# - prefer_function_declarations_over_variables # not yet tested
-
prefer_initializing_formals
# - prefer_interpolation_to_compose_strings # not yet tested
# - prefer_iterable_whereType #
not yet tested
# - prefer_iterable_whereType #
https://github.com/dart-lang/sdk/issues/32463
-
prefer_is_empty
-
prefer_is_not_empty
-
prefer_single_quotes
...
...
analysis_options_repo.yaml
View file @
6e06fd2d
...
...
@@ -52,12 +52,12 @@ linter:
# - avoid_catches_without_on_clauses # we do this commonly
# - avoid_catching_errors # we do this commonly
-
avoid_classes_with_only_static_members
# - avoid_double_and_int_checks #
not yet tested
# - avoid_double_and_int_checks #
only useful when targeting JS runtime
-
avoid_empty_else
# - avoid_field_initializers_in_const_classes # not yet tested
-
avoid_function_literals_in_foreach_calls
-
avoid_init_to_null
# - avoid_js_rounded_ints #
not yet tested
# - avoid_js_rounded_ints #
only useful when targeting JS runtime
-
avoid_null_checks_in_equality_operators
# - avoid_positional_boolean_parameters # not yet tested
# - avoid_private_typedef_functions # we prefer having typedef (discussion in https://github.com/flutter/flutter/pull/16356)
...
...
@@ -123,7 +123,7 @@ linter:
# - prefer_function_declarations_over_variables # not yet tested
-
prefer_initializing_formals
# - prefer_interpolation_to_compose_strings # not yet tested
# - prefer_iterable_whereType #
not yet tested
# - prefer_iterable_whereType #
https://github.com/dart-lang/sdk/issues/32463
-
prefer_is_empty
-
prefer_is_not_empty
-
prefer_single_quotes
...
...
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