Skip to content

Commit 8308010

Browse files
committed
refactor: stricter lint rules
1 parent 7c7b22e commit 8308010

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## [Unreleased]
8+
### Changed
9+
- Stricter lint rules - [68](https://github.com/dartoos-dev/flutter_brand_palettes/issues/68).
810

911
## [0.3.1] - 2021-05-24
1012
### Added

analysis_options.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
include: package:lint/analysis_options_package.yaml
22
linter:
33
rules:
4-
# Always await, intentionally not await
4+
# Always await.
55
unawaited_futures: true
6+
# Make constructors the first thing in every class
7+
sort_constructors_first: true
8+
# Good packages document everything
9+
public_member_api_docs: true

0 commit comments

Comments
 (0)