-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathanalysis_options.yaml
More file actions
27 lines (25 loc) · 1 KB
/
analysis_options.yaml
File metadata and controls
27 lines (25 loc) · 1 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
# This file configures the static analysis results for your project (errors,
# warnings, and lints).
#
# This enables the 'recommended' set of lints from `package:lints`.
# This set helps identify many issues that may lead to problems when running
# or consuming Dart code, and enforces writing Dart using a single, idiomatic
# style and format.
#
# If you want a smaller set of lints you can change this to specify
# 'package:lints/core.yaml'. These are just the most critical lints
# (the recommended set includes the core lints).
# The core lints are also what is used by pub.dev for scoring packages.
include: package:lints/recommended.yaml
linter:
rules:
avoid_print: true
prefer_single_quotes: true
prefer_const_constructors: true
prefer_const_literals_to_create_immutables: true
unnecessary_this: true
prefer_final_fields: true
prefer_final_locals: true
avoid_unused_constructor_parameters: true
no_leading_underscores_for_local_identifiers: true
public_member_api_docs: true