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
cc4cc699
Unverified
Commit
cc4cc699
authored
Apr 14, 2022
by
Michael Goderbauer
Committed by
GitHub
Apr 14, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable `use_super_parameters` lint (#101074)
parent
2b833324
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
analysis_options.yaml
analysis_options.yaml
+3
-0
analysis_options.yaml
examples/api/analysis_options.yaml
+8
-0
No files found.
analysis_options.yaml
View file @
cc4cc699
...
...
@@ -224,7 +224,9 @@ linter:
-
unrelated_type_equality_checks
-
unsafe_html
-
use_build_context_synchronously
# - use_colored_box # not yet tested
# - use_decorated_box # not yet tested
# - use_enums # not yet tested
-
use_full_hex_values_for_flutter_colors
-
use_function_type_syntax_for_parameters
-
use_if_null_to_convert_nulls_to_bools
...
...
@@ -236,6 +238,7 @@ linter:
-
use_rethrow_when_possible
-
use_setters_to_change_properties
# - use_string_buffers # has false positives: https://github.com/dart-lang/sdk/issues/34182
-
use_super_parameters
-
use_test_throws_matchers
# - use_to_and_as_if_applicable # has false positives, so we prefer to catch this by code-review
-
valid_regexps
...
...
examples/api/analysis_options.yaml
0 → 100644
View file @
cc4cc699
include
:
../../analysis_options.yaml
linter
:
rules
:
# TODO(goderbauer): enable when super params are more established and
# seeing them in the API samples is no longer surprising,
# https://github.com/flutter/flutter/issues/101068
use_super_parameters
:
false
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