mirror of
https://github.com/flutter/packages.git
synced 2025-06-30 14:47:22 +08:00
[flutter_lints]: analyzer_options.yaml -> analysis_options.yaml (#368)
This commit is contained in:
@ -1,3 +1,7 @@
|
||||
## 1.0.3
|
||||
|
||||
* More small updates to readme
|
||||
|
||||
## 1.0.2
|
||||
|
||||
* Small updates to readme
|
||||
|
@ -20,11 +20,11 @@ these instructions:
|
||||
|
||||
1. Depend on this package as a **dev_dependency** by running
|
||||
`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`
|
||||
from it.
|
||||
|
||||
Example `analyzer_options.yaml` file:
|
||||
Example `analysis_options.yaml` file:
|
||||
|
||||
```yaml
|
||||
# This file configures the analyzer, which statically analyzes Dart code to
|
||||
|
@ -1,6 +1,6 @@
|
||||
name: flutter_lints
|
||||
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
|
||||
|
||||
environment:
|
||||
|
Reference in New Issue
Block a user