Skip to content

Commit 9a2c096

Browse files
committed
Prepare to release flint 2.15.0
1 parent 9734a2f commit 9a2c096

4 files changed

Lines changed: 21 additions & 6 deletions

File tree

flint/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
## 2.15.0 (19/05/2026)
2+
Core ruleset:
3+
- Add `omit_obvious_local_variable_types`
4+
- Add `simple_directive_paths`
5+
- Add `simplify_variable_pattern`
6+
- Add `var_with_no_type_annotation`
7+
- Remove `avoid_null_checks_in_equality_operators`
8+
- Remove `use_if_null_to_convert_nulls_to_bools`
9+
10+
111
## 2.14.0 (19/08/2025)
212
This update focuses on lint rules introduced in Dart 3.9.0.
313

flint/lib/analysis_options.dart.yaml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ linter:
2323
- avoid_init_to_null
2424
- avoid_js_rounded_ints
2525
- avoid_multiple_declarations_per_line
26-
- avoid_null_checks_in_equality_operators
2726
- avoid_positional_boolean_parameters
2827
- avoid_print
2928
- avoid_private_typedef_functions
@@ -93,6 +92,7 @@ linter:
9392
- noop_primitive_operations
9493
- null_check_on_nullable_type_parameter
9594
- null_closures
95+
- omit_obvious_local_variable_types
9696
- one_member_abstracts
9797
- only_throw_errors
9898
- overridden_fields
@@ -136,6 +136,8 @@ linter:
136136
- public_member_api_docs
137137
- recursive_getters
138138
- secure_pubspec_urls
139+
- simple_directive_paths
140+
- simplify_variable_pattern
139141
- slash_for_doc_comments
140142
- sort_child_properties_last
141143
- sort_pub_dependencies
@@ -178,7 +180,6 @@ linter:
178180
- unsafe_html
179181
- use_enums
180182
- use_function_type_syntax_for_parameters
181-
- use_if_null_to_convert_nulls_to_bools
182183
- use_is_even_rather_than_modulo
183184
- use_named_constants
184185
- use_null_aware_elements
@@ -192,6 +193,7 @@ linter:
192193
- use_to_and_as_if_applicable
193194
- use_truncating_division
194195
- valid_regexps
196+
- var_with_no_type_annotation
195197
- void_checks
196198
ignore:
197199
- always_declare_return_types
@@ -211,18 +213,21 @@ ignore:
211213
- no_default_cases
212214
- no_logic_in_create_state
213215
- omit_local_variable_types
216+
- omit_obvious_property_types
214217
- package_api_docs
215218
- parameter_assignments
216219
- prefer_double_quotes
217-
- prefer_final_parameters
218220
- prefer_int_literals
219221
- prefer_mixin
220222
- prefer_relative_imports
223+
- remove_deprecations_in_breaking_versions
221224
- require_trailing_commas
222225
- sized_box_for_whitespace
223226
- sized_box_shrink_expand
224227
- sort_constructors_first
225228
- sort_unnamed_constructors_first
229+
- specify_nonobvious_local_variable_types
230+
- specify_nonobvious_property_types
226231
- unnecessary_final
227232
- unnecessary_library_name
228233
- unreachable_from_main

flint/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
name: flint
22
description: Analyzer lints used internally in Forus Labs' Dart & Flutter projects.
3-
version: 2.14.0
3+
version: 2.15.0
44
homepage: https://github.com/forus-labs/cauldron
55
repository: https://github.com/forus-labs/cauldron
66
topics: [lints]
77

88
environment:
9-
sdk: '>=3.9.0 <4.0.0'
9+
sdk: '>=3.12.0 <4.0.0'
1010
resolution: workspace
1111
workspace:
1212
- example

nitrogen/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ environment:
1212
resolution: workspace
1313

1414
dependencies:
15-
build: ^3.0.0
15+
build: ^4.0.0
1616
build_runner: ^2.4.6
1717
code_builder: ^4.10.0
1818
dart_style: ^3.0.0

0 commit comments

Comments
 (0)