Skip to content

Commit e86d4e9

Browse files
committed
chore: prepare v2.4.0
1 parent c059d56 commit e86d4e9

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
## 2.4.0
2+
3+
* Fixed linting rules by hiding `LintCode` from `package:analyzer/error/error.dart`
4+
* Replaced deprecated usage of `reportErrorForNode` by `atNode` in custom rules
5+
* Added rules to core `dart.yaml` file:
6+
* `document_ignores`: Document ignore comments.
7+
* `unnecessary_underscores`: Unnecessary underscores can be removed.
8+
19
## 2.3.1
210

311
* Bump `analyzer` dependency to: `">=6.0.0 <7.0.0"`

lib/dart.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ linter:
113113
- curly_braces_in_flow_control_structures
114114
- deprecated_consistency
115115
- directives_ordering
116+
- document_ignores
116117
- empty_catches
117118
- empty_constructor_bodies
118119
- eol_at_end_of_file
@@ -196,6 +197,7 @@ linter:
196197
- unnecessary_string_interpolations
197198
- unnecessary_this
198199
- unnecessary_to_list_in_spreads
200+
- unnecessary_underscores
199201
- use_enums
200202
- use_function_type_syntax_for_parameters
201203
- use_if_null_to_convert_nulls_to_bools

pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
name: fd_lints
22
description: An opiniated set of lint rules for Dart and Flutter projects. Made
33
by yours truly Floating Dartists.
4-
version: 2.3.1
4+
version: 2.4.0
55
repository: https://github.com/Floating-Dartists/fd_lints
66
issue_tracker: https://github.com/Floating-Dartists/fd_lints/issues
77

88
environment:
9-
sdk: ">=2.18.0 <4.0.0"
9+
sdk: ">=3.0.0 <4.0.0"
1010

1111
dependencies:
1212
analyzer: ">=6.0.0 <8.0.0"

0 commit comments

Comments
 (0)