diff --git a/CHANGELOG.md b/CHANGELOG.md index facaeb9..65a20c7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to the `theodo_analysis` package will be documented in this file. +## 1.8.0 + +- fix: dart rules lints were broken, re-add them + ## 1.7.0 - feat: Upgrade dcm to 1.32.0 and add news rules diff --git a/lib/analysis_options.yaml b/lib/analysis_options.yaml index c191f5d..1bfca58 100644 --- a/lib/analysis_options.yaml +++ b/lib/analysis_options.yaml @@ -24,7 +24,6 @@ linter: - strict_top_level_inference - unnecessary_underscores - unintended_html_in_doc_comment - - avoid-unnecessary-null-checks - always_declare_return_types - always_put_required_named_parameters_first - always_use_package_imports @@ -40,9 +39,7 @@ linter: - avoid_field_initializers_in_const_classes - avoid_final_parameters - avoid_function_literals_in_foreach_calls - - avoid_implementing_value_types: - excludes: - - '**m/*mocks.dart' + - avoid_implementing_value_types - avoid_init_to_null - avoid_js_rounded_ints - avoid_multiple_declarations_per_line @@ -84,7 +81,6 @@ linter: - empty_catches - empty_constructor_bodies - empty_statements - - enable_null_safety - eol_at_end_of_file - exhaustive_cases - file_names @@ -117,7 +113,6 @@ linter: - one_member_abstracts - only_throw_errors - overridden_fields - - package_api_docs - package_names - package_prefixed_library_names - parameter_assignments @@ -199,7 +194,6 @@ linter: - unnecessary_to_list_in_spreads - unreachable_from_main - unrelated_type_equality_checks - - unsafe_html - use_build_context_synchronously - use_colored_box - use_decorated_box diff --git a/pubspec.yaml b/pubspec.yaml index 083f869..76c735a 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: theodo_analysis description: Lint and dcm rules for Dart and Flutter used internally at Theodo Apps. -version: 1.7.0 +version: 1.8.0 homepage: https://github.com/bamlab/theodo_analysis repository: https://github.com/bamlab/theodo_analysis diff --git a/test/src/theodo_analysis_test.dart b/test/src/theodo_analysis_test.dart index b3b7e98..e63c95a 100644 --- a/test/src/theodo_analysis_test.dart +++ b/test/src/theodo_analysis_test.dart @@ -1,7 +1,7 @@ -// ignore_for_file: prefer_const_constructors +// ignore_for_file: prefer_const_constructors, avoid-misused-test-matchers -import 'package:theodo_analysis/theodo_analysis.dart'; import 'package:flutter_test/flutter_test.dart'; +import 'package:theodo_analysis/theodo_analysis.dart'; void main() { group('TheodoAnalysis', () {