[flutter_lints]: analyzer_options.yaml -> analysis_options.yaml (#368)

This commit is contained in:
Brett Morgan
2021-06-02 08:02:15 +10:00
committed by GitHub
parent cdabfd3472
commit d2edf76d70
3 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
## 1.0.3
* More small updates to readme
## 1.0.2 ## 1.0.2
* Small updates to readme * Small updates to readme

View File

@ -20,11 +20,11 @@ these instructions:
1. Depend on this package as a **dev_dependency** by running 1. Depend on this package as a **dev_dependency** by running
`flutter pub add --dev flutter_lints`. `flutter pub add --dev flutter_lints`.
2. Create an `analyzer_options.yaml` file at the root of the package (alongside 2. Create an `analysis_options.yaml` file at the root of the package (alongside
the `pubspec.yaml` file) and `include: package:flutter_lints/flutter.yaml` the `pubspec.yaml` file) and `include: package:flutter_lints/flutter.yaml`
from it. from it.
Example `analyzer_options.yaml` file: Example `analysis_options.yaml` file:
```yaml ```yaml
# This file configures the analyzer, which statically analyzes Dart code to # This file configures the analyzer, which statically analyzes Dart code to

View File

@ -1,6 +1,6 @@
name: flutter_lints name: flutter_lints
description: Recommended lints for Flutter apps, packages, and plugins to encourage good coding practices. description: Recommended lints for Flutter apps, packages, and plugins to encourage good coding practices.
version: 1.0.2 version: 1.0.3
homepage: https://github.com/flutter/packages/tree/master/packages/flutter_lints homepage: https://github.com/flutter/packages/tree/master/packages/flutter_lints
environment: environment: