Files
client-sdk-flutter/analysis_options.yaml
T
CloudWebRTCandGitHub 4f697ca867 fix bluetooth device enumerate. (#281)
* fix bluetooth device enumerate.

* update README.md

* dart format.

* revert pubspec.yaml.

* fix analyzer.
2023-05-11 17:29:33 +08:00

42 lines
1.2 KiB
YAML

# This file configures the analyzer, which statically analyzes Dart code to
# check for errors, warnings, and lints.
#
# The issues identified by the analyzer are surfaced in the UI of Dart-enabled
# IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
# invoked from the command line by running `flutter analyze`.
# The following line activates a set of recommended lints for Flutter apps,
# packages, and plugins designed to encourage good coding practices.
# https://pub.dev/packages/flutter_lints
include: package:flutter_lints/flutter.yaml
analyzer:
#
# Enforce stricter type-checking
# https://dart.dev/guides/language/analysis-options#enabling-additional-type-checks
# https://dash-overflow.net/articles/getting_started/#step-3-disabling-_implicit-dynamic_--_implicit-cast_
#
strong-mode:
#
# exclude protobuf files
#
exclude:
- '**/*.pb.dart'
- '**/*.pbenum.dart'
- '**/*.pbjson.dart'
- '**/*.pbserver.dart'
- 'web/*.dart'
linter:
rules:
#
# Additional recommended rules
#
prefer_single_quotes: true
unnecessary_brace_in_string_interps: false
unawaited_futures: true
depend_on_referenced_packages: false