What is this?
A simple lint rule set and analysis options configuration. This rule set is
based on package:lints/recommended.yaml.
Using the Lints
To use the lints, add a dependency in your pubspec.yaml file:
dev_dependencies:
simple_lint_rules: ^2.0.0
then, add an analysis_options.yaml file to your project:
include: package:simple_lint_rules/strict.yaml
or:
include: package:simple_lint_rules/strict_plus.yaml
Contributions, PRs, and publishing
When contributing to this repo:
- if the version in the changelog is a stable semver version (
x.y.z), the latest changes there have been published to pub. Please add a new changelog section for your change, rev the service portion of the version, append-dev, and update pubspec.yaml to agree with the new version - if the changelog version ends in
-dev, the latest changes are unpublished; please add a new changelog entry for your change in the most recent section. When we decide to publish the latest changes we'll drop the-devsuffix from the package version - for PRs, the
Publishbot will perform basic validation of the info in the pubspec.yaml and CHANGELOG.md files - when the PR is merged into the main branch, if the change includes reving to
a new stable version, a repo maintainer will tag that commit with the pubspec
version (e.g.,
v1.2.3); that tag event will trigger thePublishbot to publish a new version of the package to pub.dev