-
Notifications
You must be signed in to change notification settings - Fork 0
/
analysis_options.yaml
56 lines (51 loc) · 2.2 KB
/
analysis_options.yaml
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
##.title
## ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
##
## Dart/Flutter (DF) Packages by DevCetra.com & contributors. The use of this
## source code is governed by an MIT-style license described in the LICENSE
## file located in this project's root directory.
##
## See: https://opensource.org/license/mit
##
## ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
##.title~
include: package:flutter_lints/flutter.yaml
## ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
linter:
rules:
avoid_web_libraries_in_flutter: true
camel_case_types: false
constant_identifier_names: false
file_names: false
library_private_types_in_public_api: false
non_constant_identifier_names: false
omit_local_variable_types: true
prefer_const_constructors_in_immutables: true
prefer_const_constructors: true
prefer_final_fields: true
prefer_function_declarations_over_variables: false
prefer_relative_imports: true
prefer_single_quotes: true
require_trailing_commas: true
unnecessary_this: true
analyzer:
language:
strict-casts: true
strict-inference: true
strict-raw-types: true
exclude:
- build/**
errors:
always_declare_return_types: error
avoid_renaming_method_parameters: error
avoid_type_to_string: error
depend_on_referenced_packages: error
flutter_style_todos: error
invalid_override_of_non_virtual_member: error
invalid_use_of_protected_member: error
no_leading_underscores_for_local_identifiers: error
prefer_final_in_for_each: error
prefer_relative_imports: error
unnecessary_new: error
unrelated_type_equality_checks: error
use_key_in_widget_constructors: error