File tree Expand file tree Collapse file tree 3 files changed +41
-0
lines changed Expand file tree Collapse file tree 3 files changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ An example project that uses Dart recommended lints.
Original file line number Diff line number Diff line change 1+ # This file configures the static analysis results for your project (errors,
2+ # warnings, and lints).
3+ #
4+ # This enables the 'recommended' set of lints from `package:lints`.
5+ # This set helps identify many issues that may lead to problems when running
6+ # or consuming Dart code, and enforces writing Dart using a single, idiomatic
7+ # style and format.
8+ #
9+ # If you want a smaller set of lints you can change this to specify
10+ # 'package:lints/core.yaml'. These are just the most critical lints
11+ # (the recommended set includes the core lints).
12+ # The core lints are also what is used by pub.dev for scoring packages.
13+
14+ include : package:lints/recommended.yaml
15+
16+ # Uncomment the following section to specify additional rules.
17+
18+ # linter:
19+ # rules:
20+ # - camel_case_types
21+
22+ # analyzer:
23+ # exclude:
24+ # - path/to/excluded/files/**
25+
26+ # For more information about the core and recommended set of lints, see
27+ # https://dart.dev/go/core-lints
28+
29+ # For additional information about configuring this file, see
30+ # https://dart.dev/guides/language/analysis-options
Original file line number Diff line number Diff line change 1+ name : example
2+ description : An example project that uses Dart recommended lints.
3+ version : 0.1.0
4+ publish_to : none
5+
6+ environment :
7+ sdk : ' >=2.12.0 <3.0.0'
8+
9+ dev_dependencies :
10+ lints : ^1.0.0
You can’t perform that action at this time.
0 commit comments