Skip to content

Commit 668bcce

Browse files
authored
Merge pull request #10 from bamlab/fix/re-add-dart-lints
fix: re add dart lints
2 parents 6fadf48 + 5047a17 commit 668bcce

File tree

4 files changed

+8
-10
lines changed

4 files changed

+8
-10
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
All notable changes to the `theodo_analysis` package will be documented in this file.
44

5+
## 1.8.0
6+
7+
- fix: dart rules lints were broken, re-add them
8+
59
## 1.7.0
610

711
- feat: Upgrade dcm to 1.32.0 and add news rules

lib/analysis_options.yaml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ linter:
2424
- strict_top_level_inference
2525
- unnecessary_underscores
2626
- unintended_html_in_doc_comment
27-
- avoid-unnecessary-null-checks
2827
- always_declare_return_types
2928
- always_put_required_named_parameters_first
3029
- always_use_package_imports
@@ -40,9 +39,7 @@ linter:
4039
- avoid_field_initializers_in_const_classes
4140
- avoid_final_parameters
4241
- avoid_function_literals_in_foreach_calls
43-
- avoid_implementing_value_types:
44-
excludes:
45-
- '**m/*mocks.dart'
42+
- avoid_implementing_value_types
4643
- avoid_init_to_null
4744
- avoid_js_rounded_ints
4845
- avoid_multiple_declarations_per_line
@@ -84,7 +81,6 @@ linter:
8481
- empty_catches
8582
- empty_constructor_bodies
8683
- empty_statements
87-
- enable_null_safety
8884
- eol_at_end_of_file
8985
- exhaustive_cases
9086
- file_names
@@ -117,7 +113,6 @@ linter:
117113
- one_member_abstracts
118114
- only_throw_errors
119115
- overridden_fields
120-
- package_api_docs
121116
- package_names
122117
- package_prefixed_library_names
123118
- parameter_assignments
@@ -199,7 +194,6 @@ linter:
199194
- unnecessary_to_list_in_spreads
200195
- unreachable_from_main
201196
- unrelated_type_equality_checks
202-
- unsafe_html
203197
- use_build_context_synchronously
204198
- use_colored_box
205199
- use_decorated_box

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: theodo_analysis
22
description: Lint and dcm rules for Dart and Flutter used internally at Theodo Apps.
3-
version: 1.7.0
3+
version: 1.8.0
44
homepage: https://github.com/bamlab/theodo_analysis
55
repository: https://github.com/bamlab/theodo_analysis
66

test/src/theodo_analysis_test.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
// ignore_for_file: prefer_const_constructors
1+
// ignore_for_file: prefer_const_constructors, avoid-misused-test-matchers
22

3-
import 'package:theodo_analysis/theodo_analysis.dart';
43
import 'package:flutter_test/flutter_test.dart';
4+
import 'package:theodo_analysis/theodo_analysis.dart';
55

66
void main() {
77
group('TheodoAnalysis', () {

0 commit comments

Comments
 (0)