This repository was archived by the owner on Aug 2, 2025. It is now read-only.
-
Couldn't load subscription status.
- Fork 30
Merged
+ example #36
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| An example project that uses Dart recommended lints. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| # This file configures the static analysis results for your project (errors, | ||
| # warnings, and lints). | ||
| # | ||
| # This enables the 'recommended' set of lints from `package:lints`. | ||
| # This set helps identify many issues that may lead to problems when running | ||
| # or consuming Dart code, and enforces writing Dart using a single, idiomatic | ||
| # style and format. | ||
| # | ||
| # If you want a smaller set of lints you can change this to specify | ||
| # 'package:lints/core.yaml'. These are just the most critical lints | ||
| # (the recommended set includes the core lints). | ||
| # The core lints are also what is used by pub.dev for scoring packages. | ||
|
|
||
| include: package:lints/recommended.yaml | ||
|
|
||
| # Uncomment the following section to specify additional rules. | ||
|
|
||
| # linter: | ||
| # rules: | ||
| # - camel_case_types | ||
|
|
||
| # analyzer: | ||
| # exclude: | ||
| # - path/to/excluded/files/** | ||
|
|
||
| # For more information about the core and recommended set of lints, see | ||
| # https://dart.dev/go/core-lints | ||
|
|
||
| # For additional information about configuring this file, see | ||
| # https://dart.dev/guides/language/analysis-options | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| name: example | ||
| description: An example project that uses Dart recommended lints. | ||
| version: 0.1.0 | ||
| publish_to: none | ||
|
|
||
pq marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| environment: | ||
| sdk: '>=2.12.0 <3.0.0' | ||
|
|
||
| dev_dependencies: | ||
| lints: ^1.0.0 | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.