Skip to content

Commit e09ffde

Browse files
committed
chore: Adding linting rules.
1 parent 2946e3e commit e09ffde

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

analysis_options.yaml

+9
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,15 @@ linter:
2222
# `// ignore_for_file: name_of_lint` syntax on the line or in the file
2323
# producing the lint.
2424
rules:
25+
always_declare_return_types: true
26+
omit_local_variable_types: true
27+
prefer_const_declarations: true
28+
require_trailing_commas: true
29+
avoid_positional_boolean_parameters: true
30+
prefer_final_locals: true
31+
always_put_required_named_parameters_first: true
32+
prefer_single_quotes: true
33+
library_prefixes: true
2534
# avoid_print: false # Uncomment to disable the `avoid_print` rule
2635
# prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule
2736

0 commit comments

Comments
 (0)