Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaszpolanski committed Dec 1, 2023
1 parent 6b29d46 commit 7f5c5af
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 21 deletions.
20 changes: 1 addition & 19 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1 @@
#include: package:lint/analysis_options.yaml

analyzer:

linter:
rules:
close_sinks: true
sort_constructors_first: false
avoid_classes_with_only_static_members: false
avoid_void_async: false
avoid_positional_boolean_parameters: false
avoid_function_literals_in_foreach_calls: false
prefer_constructors_over_static_methods: false
sort_unnamed_constructors_first: false
sized_box_for_whitespace: false
sort_pub_dependencies: false
directives_ordering: false
noop_primitive_operations: false
use_build_context_synchronously: false
include: package:klar_dart_lints/recommended.yaml
2 changes: 1 addition & 1 deletion example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class _MyAppState extends State<MyApp> {
}

class _ExampleBody extends StatefulWidget {
const _ExampleBody({super.key});
const _ExampleBody();

@override
State<_ExampleBody> createState() => _ExampleBodyState();
Expand Down
6 changes: 5 additions & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,8 @@ dependencies:
url_launcher: ^6.1.6

dev_dependencies:
lint: ^2.1.2
klar_dart_lints:
git:
url: [email protected]:klar-mx/klar-dart-lints.git
ref: 1.11.0

0 comments on commit 7f5c5af

Please sign in to comment.