1- include : package:pedantic/analysis_options.yaml
1+
2+ # This file configures the analyzer, which statically analyzes Dart code to
3+ # check for errors, warnings, and lints.
4+ #
5+ # The issues identified by the analyzer are surfaced in the UI of Dart-enabled
6+ # IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
7+ # invoked from the command line by running `flutter analyze`.
8+
9+ # The following line activates a set of recommended lints for Flutter apps,
10+ # packages, and plugins designed to encourage good coding practices.
211
312linter :
13+ # The lint rules applied to this project can be customized in the
14+ # section below to disable rules from the `package:flutter_lints/flutter.yaml`
15+ # included above or to enable additional rules. A list of all available lints
16+ # and their documentation is published at https://dart.dev/lints.
17+ #
18+ # Instead of disabling a lint rule for the entire project in the
19+ # section below, it can also be suppressed for a single line of code
20+ # or a specific dart file by using the `// ignore: name_of_lint` and
21+ # `// ignore_for_file: name_of_lint` syntax on the line or in the file
22+ # producing the lint.
423 rules :
524 - always_declare_return_types
625 - avoid_empty_else
@@ -30,7 +49,12 @@ linter:
3049 - use_rethrow_when_possible
3150 - valid_regexps
3251 - void_checks
33-
52+
53+ # avoid_print: false # Uncomment to disable the `avoid_print` rule
54+ # prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule
55+ # Additional information about this file can be found at
56+ # https://dart.dev/guides/language/analysis-options
57+
3458analyzer :
3559 errors :
3660 # treat missing required parameters as a warning (not a hint)
@@ -45,4 +69,3 @@ analyzer:
4569 # Ignore analyzer hints for updating pubspecs when using Future or
4670 # Stream and not importing dart:async
4771 # Please see https://github.com/flutter/flutter/pull/24528 for details.
48- sdk_version_async_exported_from_core : ignore
0 commit comments