-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathanalysis_options.yaml
More file actions
660 lines (649 loc) · 24.3 KB
/
analysis_options.yaml
File metadata and controls
660 lines (649 loc) · 24.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
analyzer:
language:
strict-casts: true
strict-inference: true
strict-raw-types: true
errors:
# Info
always_declare_return_types: info
directives_ordering: info
todo: info
unsafe_html: info
# Warning
empty_catches: warning
prefer_relative_imports: warning
# Error
avoid_relative_lib_imports: error
avoid_slow_async_io: error
avoid_types_as_parameter_names: error
cancel_subscriptions: error
close_sinks: error
valid_regexps: error
plugins:
- dart_code_metrics
dart_code_metrics:
exclude:
dependencies:
- example/pubspec.yaml
metrics:
- "**/test/**"
- "**/example/**"
extends:
- package:dart_code_metrics_presets/dart_all.yaml
metrics:
cyclomatic-complexity: 24
maximum-nesting-level: 5
number-of-parameters: 4
source-lines-of-code: 60
metrics-exclude:
- test/**
- example/**
pubspec-rules:
# Disabled:
- add-resolution-workspace: false # This is not a workspace package.
- prefer-correct-package-name: false # Different naming conventions for Dart and Flutter packages.
- prefer-pinned-version-syntax: false # Conflicts with prefer-caret-version-syntax.
- prefer-publish-to-none: false # Those are not published packages.
- prefer-caret-version-syntax: false # Conflicts with avoid-any-version.
# Enabled:
- avoid-any-version: true
- avoid-dependency-overrides: true
- dependencies-ordering: true
- newline-before-pubspec-entry: true
- prefer-correct-screenshots: true
- prefer-semver-version: true
- pubspec-ordering:
order:
- version
- name
- description
- publish_to
- maintainer
- repository
- issue_tracker
- homepage
- funding
- resolution
- topics
- screenshots
- environment
- dependencies
- dependency_overrides
- dev_dependencies
- prefer-commenting-pubspec-ignores: true
- prefer-correct-topics: true
rules:
# With configs:
- prefer-named-parameters:
max-number: 2
- avoid-nested-conditional-expressions:
acceptable-level: 2
- prefer-correct-identifier-length:
# i for index, x/y for math operations, sb for StringBuffer, io for IO,
# a and b are convenient for sorting, e for the element, k for key, v for value.
exceptions: ["a", "b", "e", "i", "k", "v", "x", "y", "io", "sb", "id"]
- avoid-long-parameter-list:
ignore-optional: true
- prefer-typedefs-for-callbacks:
ignore-fields: true
ignore-parameters: true
ignore-type-arguments: false
ignore-return-types: false
- missing-test-assertion:
include-assertions:
- verify
- verifyZeroInteractions
- avoid-passing-async-when-sync-expected:
exclude:
- test/**
- avoid-redundant-async:
exclude:
- test/**
- prefer-static-class:
exclude:
- test/**
- member-ordering:
order:
- constructors
- public-fields
- private-fields
- format-comment:
ignored-patterns:
- ^coverage.*
- prefer-class-destructuring:
min-occurrences: 4
# Disabled:
# Shorthands:
- prefer-returning-shorthands: false
- prefer-shorthands-with-constructors: false
- prefer-shorthands-with-enums: false
- prefer-shorthands-with-static-fields: false
# Other disabled:
- arguments-ordering: false # This will be a breaking change.
- avoid-continue: false # Just a matter of style.
- avoid-deprecated-usage: false # Using default deprecated_member_use_from_same_package.
- avoid-inferrable-type-arguments: false # Against prefer-explicit-type-arguments.
- avoid-long-files: false # A lot of data and collections.
- no-empty-string: false # Empty strings are common in tests and data.
- no-magic-number: false # Packages contain a lot of numbers.
- no-magic-string: false # Packages contain a lot of strings.
- parameters-ordering: false # This will be a breaking change.
- prefer-test-structure: false # Matter of style.
- prefer-boolean-prefixes: false # This will be a breaking change.
- prefer-correct-throws: false # No DCM annotations or Meta in Dart packages.
- prefer-test-matchers: false # Matter of style + introduces coupling in tests.
# Enabled:
- avoid-accessing-collections-by-constant-index: true
- avoid-accessing-other-classes-private-members: true
- avoid-adjacent-strings: true
- avoid-always-null-parameters: true
- avoid-assigning-to-static-field: true
- avoid-assignments-as-conditions: true
- avoid-async-call-in-sync-function: true
- avoid-banned-exports: true
- avoid-barrel-files: true
- avoid-bitwise-operators-with-booleans: true
- avoid-bottom-type-in-patterns: true
- avoid-bottom-type-in-records: true
- avoid-cascade-after-if-null: true
- avoid-casting-to-extension-type: true
- avoid-collapsible-if: true
- avoid-collection-equality-checks: true
- avoid-collection-methods-with-unrelated-types: true
- avoid-collection-mutating-methods: true
- avoid-commented-out-code: true
- avoid-complex-arithmetic-expressions: true
- avoid-complex-conditions: true
- avoid-complex-loop-conditions: true
- avoid-conditions-with-boolean-literals: true
- avoid-constant-assert-conditions: true
- avoid-constant-conditions: true
- avoid-constant-switches: true
- avoid-contradictory-expressions: true
- avoid-declaring-call-method: true
- avoid-default-tostring: true
- avoid-double-slash-imports: true
- avoid-duplicate-cascades: true
- avoid-duplicate-collection-elements: true
- avoid-duplicate-constant-values: true
- avoid-duplicate-exports: true
- avoid-duplicate-initializers: true
- avoid-duplicate-map-keys: true
- avoid-duplicate-mixins: true
- avoid-duplicate-named-imports: true
- avoid-duplicate-patterns: true
- avoid-duplicate-switch-case-conditions: true
- avoid-duplicate-test-assertions: true
- avoid-dynamic: true
- avoid-empty-spread: true
- avoid-empty-test-groups: true
- avoid-enum-values-by-index: true
- avoid-equal-expressions: true
- avoid-excessive-expressions: true
- avoid-explicit-pattern-field-name: true
- avoid-explicit-type-declaration: true
- avoid-extensions-on-records: true
- avoid-function-type-in-records: true
- avoid-future-ignore: true
- avoid-future-tostring: true
- avoid-generics-shadowing: true
- avoid-global-state: true
- avoid-high-cyclomatic-complexity: true
- avoid-identical-exception-handling-blocks: true
- avoid-if-with-many-branches: true
- avoid-ignoring-return-values: true
- avoid-immediately-invoked-functions: true
- avoid-implicitly-nullable-extension-types: true
- avoid-importing-entrypoint-exports: true
- avoid-incomplete-copy-with: true
- avoid-inconsistent-digit-separators: true
- avoid-incorrect-uri: true
- avoid-inverted-boolean-checks: true
- avoid-keywords-in-wildcard-pattern: true
- avoid-late-final-reassignment: true
- avoid-local-functions: true
- avoid-long-functions: true
- avoid-long-records: true
- avoid-map-keys-contains: true
- avoid-missed-calls: true
- avoid-missing-completer-stack-trace: true
- avoid-missing-enum-constant-in-map: true
- avoid-missing-interpolation: true
- avoid-misused-set-literals: true
- avoid-misused-test-matchers: true
- avoid-misused-wildcard-pattern: true
- avoid-mixing-named-and-positional-fields: true
- avoid-multi-assignment: true
- avoid-mutating-parameters: true
- avoid-negated-conditions: true
- avoid-negations-in-equality-checks: true
- avoid-nested-assignments: true
- avoid-nested-extension-types: true
- avoid-nested-futures: true
- avoid-nested-records: true
- avoid-nested-shorthands: true
- avoid-nested-streams-and-futures: true
- avoid-nested-switch-expressions: true
- avoid-nested-switches: true
- avoid-nested-try-statements: true
- avoid-never-passed-parameters: true
- avoid-non-ascii-symbols: true
- avoid-non-empty-constructor-bodies: true
- avoid-non-final-exception-class-fields: true
- avoid-non-null-assertion: true
- avoid-not-encodable-in-to-json: true
- avoid-nullable-interpolation: true
- avoid-nullable-parameters-with-default-values: true
- avoid-nullable-tostring: true
- avoid-one-field-records: true
- avoid-only-rethrow: true
- avoid-passing-default-values: true
- avoid-passing-self-as-argument: true
- avoid-positional-record-field-access: true
- avoid-recursive-calls: true
- avoid-recursive-tostring: true
- avoid-redundant-else: true
- avoid-redundant-positional-field-name: true
- avoid-redundant-pragma-inline: true
- avoid-referencing-discarded-variables: true
- avoid-referencing-subclasses: true
- avoid-renaming-representation-getters: true
- avoid-returning-cascades: true
- avoid-returning-void: true
- avoid-self-assignment: true
- avoid-self-compare: true
- avoid-shadowed-extension-methods: true
- avoid-shadowing: true
- avoid-similar-names: true
- avoid-single-field-destructuring: true
- avoid-slow-collection-methods: true
- avoid-stream-tostring: true
- avoid-substring: true
- avoid-suspicious-global-reference: true
- avoid-suspicious-super-overrides: true
- avoid-throw-in-catch-block: true
- avoid-throw-objects-without-tostring: true
- avoid-top-level-members-in-tests: true
- avoid-type-casts: true
- avoid-unassigned-fields: true
- avoid-unassigned-late-fields: true
- avoid-unassigned-stream-subscriptions: true
- avoid-uncaught-future-errors: true
- avoid-unconditional-break: true
- avoid-unknown-pragma: true
- avoid-unnecessary-block: true
- avoid-unnecessary-call: true
- avoid-unnecessary-collections: true
- avoid-unnecessary-compare-to: true
- avoid-unnecessary-conditionals: true
- avoid-unnecessary-constructor: true
- avoid-unnecessary-continue: true
- avoid-unnecessary-digit-separators: true
- avoid-unnecessary-enum-arguments: true
- avoid-unnecessary-enum-prefix: true
- avoid-unnecessary-extends: true
- avoid-unnecessary-futures: true
- avoid-unnecessary-getter: true
- avoid-unnecessary-if: true
- avoid-unnecessary-late-fields: true
- avoid-unnecessary-length-check: true
- avoid-unnecessary-local-late: true
- avoid-unnecessary-local-variable: true
- avoid-unnecessary-negations: true
- avoid-unnecessary-null-aware-elements: true
- avoid-unnecessary-nullable-fields: true
- avoid-unnecessary-nullable-parameters: true
- avoid-unnecessary-nullable-return-type: true
- avoid-unnecessary-overrides: true
- avoid-unnecessary-patterns: true
- avoid-unnecessary-reassignment: true
- avoid-unnecessary-return: true
- avoid-unnecessary-statements: true
- avoid-unnecessary-super: true
- avoid-unnecessary-type-assertions: true
- avoid-unnecessary-type-casts: true
- avoid-unreachable-for-loop: true
- avoid-unrelated-type-assertions: true
- avoid-unrelated-type-casts: true
- avoid-unremovable-callbacks-in-listeners: true
- avoid-unsafe-collection-methods: true
- avoid-unsafe-reduce: true
- avoid-unused-after-null-check: true
- avoid-unused-assignment: true
- avoid-unused-generics: true
- avoid-unused-instances: true
- avoid-unused-local-variable: true
- avoid-unused-parameters: true
- avoid-weak-cryptographic-algorithms: true
- avoid-wildcard-cases-with-enums: true
- avoid-wildcard-cases-with-sealed-classes: true
- binary-expression-operand-order: true
- dispose-class-fields: true
- double-literal-format: true
- enum-constants-ordering: true
- function-always-returns-null: true
- function-always-returns-same-value: true
- handle-throwing-invocations: true
- map-keys-ordering: true
- match-base-class-default-value: true
- match-getter-setter-field-names: true
- match-lib-folder-structure: true
- match-positional-field-names-on-assignment: true
- max-imports: true
- move-records-to-typedefs: true
- move-variable-closer-to-its-usage: true
- move-variable-outside-iteration: true
- newline-before-case: true
- newline-before-constructor: true
- newline-before-method: true
- newline-before-return: true
- no-boolean-literal-compare: true
- no-empty-block: true
- no-equal-arguments: true
- no-equal-conditions: true
- no-equal-nested-conditions: true
- no-equal-switch-case: true
- no-equal-switch-expression-cases: true
- no-equal-then-else: true
- no-object-declaration: true
- pass-correct-accepted-type: true
- pass-optional-argument: true
- pattern-fields-ordering: true
- prefer-abstract-final-static-class: true
- prefer-add-all: true
- prefer-addition-subtraction-assignments: true
- prefer-any-or-every: true
- prefer-assigning-await-expressions: true
- prefer-async-await: true
- prefer-both-inlining-annotations: true
- prefer-bytes-builder: true
- prefer-commenting-analyzer-ignores: true
- prefer-commenting-future-delayed: true
- prefer-compound-assignment-operators: true
- prefer-conditional-expressions: true
- prefer-contains: true
- prefer-correct-callback-field-name: true
- prefer-correct-error-name: true
- prefer-correct-for-loop-increment: true
- prefer-correct-future-return-type: true
- prefer-correct-handler-name: true
- prefer-correct-json-casts: true
- prefer-correct-setter-parameter-name: true
- prefer-correct-stream-return-type: true
- prefer-correct-switch-length: true
- prefer-correct-test-file-name: true
- prefer-correct-type-name: true
- prefer-declaring-const-constructor: true
- prefer-digit-separators: true
- prefer-early-return: true
- prefer-enums-by-name: true
- prefer-expect-later: true
- prefer-explicit-function-type: true
- prefer-explicit-parameter-names: true
- prefer-explicit-type-arguments: true
- prefer-extracting-function-callbacks: true
- prefer-first: true
- prefer-for-in: true
- prefer-getter-over-method: true
- prefer-immediate-return: true
- prefer-iterable-of: true
- prefer-last: true
- prefer-match-file-name: true
- prefer-moving-to-variable: true
- prefer-named-boolean-parameters: true
- prefer-null-aware-elements: true
- prefer-null-aware-spread: true
- prefer-overriding-parent-equality: true
- prefer-parentheses-with-if-null: true
- prefer-prefixed-global-constants: true
- prefer-private-extension-type-field: true
- prefer-public-exception-classes: true
- prefer-pushing-conditional-expressions: true
- prefer-redirecting-superclass-constructor: true
- prefer-return-await: true
- prefer-returning-condition: true
- prefer-returning-conditional-expressions: true
- prefer-simpler-boolean-expressions: true
- prefer-simpler-patterns-null-check: true
- prefer-single-declaration-per-file: true
- prefer-specific-cases-first: true
- prefer-specifying-future-value-type: true
- prefer-static-method: true
- prefer-switch-expression: true
- prefer-switch-with-enums: true
- prefer-switch-with-sealed-classes: true
- prefer-trailing-comma: true
- prefer-type-over-var: true
- prefer-unique-test-names: true
- prefer-unwrapping-future-or: true
- prefer-visible-for-testing-on-members: true
- prefer-wildcard-pattern: true
- record-fields-ordering: true
- unnecessary-trailing-comma: true
- use-existing-destructuring: true
- use-existing-variable: true
linter:
rules:
# Disabled:
always_put_control_body_on_new_line: false # Makes code harder to read.
always_specify_types: false # Conflicts with: omit_local_variable_types.
always_use_package_imports: false # Conflicts with: prefer_relative_imports.
avoid_classes_with_only_static_members: false # Conflicts with: prefer-static-class
avoid_equals_and_hash_code_on_mutable_classes: false # We have no access to meta here.
flutter_style_todos: false # Not a Flutter team.
omit_local_variable_types: false # Conflicts with: prefer-type-over-var
omit_obvious_local_variable_types: false # Conflicts with: omit_local_variable_types and prefer-type-over-var.
omit_obvious_property_types: false # Conflicts with: type_annotate_public_apis.
prefer_constructors_over_static_methods: false # Matter of style.
prefer_double_quotes: false # Conflicts with: prefer_single_quotes.
specify_nonobvious_local_variable_types: false # Conflicts with: avoid-explicit-type-declaration.
unnecessary_final: false # Conflicts with: prefer_final_locals.
unnecessary_library_name: false # To prevent breaking changes for those who use this libs.
# Enabled:
always_declare_return_types: true
always_put_required_named_parameters_first: true
annotate_overrides: true
annotate_redeclares: true
avoid_annotating_with_dynamic: true
avoid_bool_literals_in_conditional_expressions: true
avoid_catches_without_on_clauses: true
avoid_catching_errors: true
avoid_double_and_int_checks: true
avoid_dynamic_calls: true
avoid_empty_else: true
avoid_escaping_inner_quotes: true
avoid_field_initializers_in_const_classes: true
avoid_final_parameters: true
avoid_function_literals_in_foreach_calls: true
avoid_futureor_void: true
avoid_implementing_value_types: true
avoid_init_to_null: true
avoid_js_rounded_ints: true
avoid_multiple_declarations_per_line: true
avoid_positional_boolean_parameters: true
avoid_print: true
avoid_private_typedef_functions: true
avoid_redundant_argument_values: true
avoid_relative_lib_imports: true
avoid_renaming_method_parameters: true
avoid_return_types_on_setters: true
avoid_returning_null_for_void: true
avoid_returning_this: true
avoid_setters_without_getters: true
avoid_shadowing_type_parameters: true
avoid_single_cascade_in_expression_statements: true
avoid_slow_async_io: true
avoid_type_to_string: true
avoid_types_as_parameter_names: true
avoid_types_on_closure_parameters: true
avoid_unused_constructor_parameters: true
avoid_void_async: true
await_only_futures: true
camel_case_extensions: true
camel_case_types: true
cancel_subscriptions: true
cascade_invocations: true
cast_nullable_to_non_nullable: true
close_sinks: true
collection_methods_unrelated_type: true
combinators_ordering: true
comment_references: true
conditional_uri_does_not_exist: true
constant_identifier_names: true
control_flow_in_finally: true
curly_braces_in_flow_control_structures: true
dangling_library_doc_comments: true
depend_on_referenced_packages: true
deprecated_consistency: true
deprecated_member_use_from_same_package: true
directives_ordering: true
discarded_futures: true
do_not_use_environment: true
document_ignores: true
empty_catches: true
empty_constructor_bodies: true
empty_statements: true
eol_at_end_of_file: true
exhaustive_cases: true
file_names: true
hash_and_equals: true
implementation_imports: true
implicit_call_tearoffs: true
implicit_reopen: true
invalid_case_patterns: true
invalid_runtime_check_with_js_interop_types: true
join_return_with_assignment: true
leading_newlines_in_multiline_strings: true
library_annotations: true
library_names: true
library_prefixes: true
library_private_types_in_public_api: true
lines_longer_than_80_chars: true
literal_only_boolean_expressions: true
matching_super_parameters: true
missing_code_block_language_in_doc_comment: true
missing_whitespace_between_adjacent_strings: true
no_adjacent_strings_in_list: true
no_default_cases: true
no_duplicate_case_values: true
no_leading_underscores_for_library_prefixes: true
no_leading_underscores_for_local_identifiers: true
no_literal_bool_comparisons: true
no_runtimeType_toString: true
no_self_assignments: true
no_wildcard_variable_uses: true
non_constant_identifier_names: true
noop_primitive_operations: true
null_check_on_nullable_type_parameter: true
null_closures: true
one_member_abstracts: true
only_throw_errors: true
overridden_fields: true
package_names: true
package_prefixed_library_names: true
parameter_assignments: true
prefer_adjacent_string_concatenation: true
prefer_asserts_in_initializer_lists: true
prefer_asserts_with_message: true
prefer_collection_literals: true
prefer_conditional_assignment: true
prefer_const_constructors: true
prefer_const_constructors_in_immutables: true
prefer_const_declarations: true
prefer_const_literals_to_create_immutables: true
prefer_contains: true
prefer_expression_function_bodies: true
prefer_final_fields: true
prefer_final_in_for_each: true
prefer_final_locals: true
prefer_for_elements_to_map_fromIterable: true
prefer_single_quotes: true
prefer_foreach: true
prefer_function_declarations_over_variables: true
prefer_generic_function_type_aliases: true
prefer_if_elements_to_conditional_expressions: true
prefer_if_null_operators: true
prefer_initializing_formals: true
prefer_inlined_adds: true
prefer_int_literals: true
prefer_interpolation_to_compose_strings: true
prefer_is_empty: true
prefer_is_not_empty: true
prefer_is_not_operator: true
prefer_iterable_whereType: true
prefer_mixin: true
prefer_null_aware_method_calls: true
prefer_null_aware_operators: true
prefer_relative_imports: true
prefer_spread_collections: true
prefer_typing_uninitialized_variables: true
prefer_void_to_null: true
provide_deprecation_message: true
public_member_api_docs: true
recursive_getters: true
remove_deprecations_in_breaking_versions: true
require_trailing_commas: true
secure_pubspec_urls: true
simplify_variable_pattern: true
slash_for_doc_comments: true
sort_constructors_first: true
sort_pub_dependencies: true
sort_unnamed_constructors_first: true
specify_nonobvious_property_types: true
strict_top_level_inference: true
switch_on_type: true
test_types_in_equals: true
throw_in_finally: true
tighten_type_of_initializing_formals: true
type_annotate_public_apis: true
type_init_formals: true
type_literal_in_constant_pattern: true
unawaited_futures: true
unintended_html_in_doc_comment: true
unnecessary_async: true
unnecessary_await_in_return: true
unnecessary_brace_in_string_interps: true
unnecessary_breaks: true
unnecessary_const: true
unnecessary_constructor_name: true
unnecessary_getters_setters: true
unnecessary_ignore: true
unnecessary_lambdas: true
unnecessary_late: true
unnecessary_library_directive: true
unnecessary_new: true
unnecessary_null_aware_assignments: true
unnecessary_null_aware_operator_on_extension_on_nullable: true
unnecessary_null_checks: true
unnecessary_null_in_if_null_operators: true
unnecessary_nullable_for_final_variable_declarations: true
unnecessary_overrides: true
unnecessary_parenthesis: true
unnecessary_raw_strings: true
unnecessary_statements: true
unnecessary_string_escapes: true
unnecessary_string_interpolations: true
unnecessary_this: true
unnecessary_to_list_in_spreads: true
unnecessary_unawaited: true
unnecessary_underscores: true
unreachable_from_main: true
unrelated_type_equality_checks: true
unsafe_variance: true
use_enums: true
use_function_type_syntax_for_parameters: true
use_is_even_rather_than_modulo: true
use_late_for_private_fields_and_variables: true
use_named_constants: true
use_null_aware_elements: true
use_raw_strings: true
use_rethrow_when_possible: true
use_setters_to_change_properties: true
use_string_buffers: true
use_string_in_part_of_directives: true
use_super_parameters: true
use_test_throws_matchers: true
use_to_and_as_if_applicable: true
use_truncating_division: true
valid_regexps: true
void_checks: true