-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathanalysis_options.yaml
More file actions
31 lines (26 loc) · 941 Bytes
/
Copy pathanalysis_options.yaml
File metadata and controls
31 lines (26 loc) · 941 Bytes
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
# Enable all rules by default
include: all_lint_rules.yaml
# Explicitly disable only the rules we do not want.
linter:
rules:
# Some explanation why we don't want this lint
always_put_required_named_parameters_first: false
prefer_double_quotes: false
prefer_single_quotes: true
flutter_style_todos: false
always_specify_types: false
unnecessary_final: false
public_member_api_docs: false
analyzer:
exclude:
# ignore warnings in files from json_serializable, built_value and most generators
- "**/*.g.dart"
# ignore warnings in files generated by Freezed specifically.
- "**/*.freezed.dart"
strong-mode:
implicit-casts: false
implicit-dynamic: false
errors:
# Otherwise cause the import of all_lint_rules to warn because of some rules conflicts.
# The conflicts are fixed in this file instead, so we can safely ignore the warning.
included_file_warning: ignore