Skip to content

Commit

Permalink
Remove invariant_booleans
Browse files Browse the repository at this point in the history
Fixes #61
  • Loading branch information
passsy committed Jul 26, 2022
1 parent 101ffdc commit 7a2d91a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 1.10.0

Requires Dart `sdk: '>=2.17.0'`

- Removal of [`invariant_booleans`](https://dart-lang.github.io/linter/lints/invariant_booleans.html)

## 1.9.0 (Future release)

Requires Dart `sdk: '>=2.16.0-44.0.dev <3.0.0'`
Expand Down
7 changes: 0 additions & 7 deletions lib/analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -454,13 +454,6 @@ linter:
# https://dart-lang.github.io/linter/lints/implementation_imports.html
- implementation_imports

# Although there are some false positives, this lint generally catches unnecessary checks
# - https://github.com/dart-lang/linter/issues/811
#
#
# https://dart-lang.github.io/linter/lints/invariant_booleans.html
- invariant_booleans

# Type check for `Iterable<T>.contains(other)` where `other is! T`
# Without this, `contains` will always report false. Those errors are usually very hard to catch.
#
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: lint
version: 1.9.0
version: 1.10.0
description: An opinionated, community-driven set of lint rules for Dart and Flutter projects. Like pedantic but stricter
homepage: https://github.com/passsy/dart-lint

Expand Down

0 comments on commit 7a2d91a

Please sign in to comment.