-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpubspec.yaml
83 lines (65 loc) · 1.72 KB
/
pubspec.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
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
name: better_imports
description: A better imports sorter for your .dart files.
version: 1.2.1
repository: https://github.com/oppahansi/better_imports
executables:
better_imports: better_imports
environment:
sdk: '>=3.5.0 <4.0.0'
dependencies:
analyzer: ^6.8.0
args: ^2.5.0
dart_style: ^2.3.6
intl: ^0.19.0
logging: ^1.2.0
tint: ^2.0.1
yaml: ^3.1.2
dev_dependencies:
lints: ^4.0.0
test: ^1.25.8
# Better Imports default config
# Default config is overwritten when settings are passed in as arguments in the cli
better_imports:
# If set overwrites the project name
# Used for sorting project imports
project_name:
# Absolute path to an external configuration
# If set, rest in this section will be ignored
cfg_path:
# Flag to include subfolders
recursive: true
# Flag to add comments above import sections
comments: true
# Flag to disable results output in console
silent: false
# Flag to use relative imports in the project
relative: false
# Flag to use to log everything happening to console
trace: false
# Flag to use to run a dry run without changing files
dry_run: false
# Flag to use the dart formatter after sorting imports
dart_fmt: true
# Folder names used for collecting dart files
folders:
- lib
- bin
- res
- example
- test
- tests
- integration_test
- integration_tests
- test_driver
# File names which should be sorted
files:
# File names which should be excluded
ignore_files:
# RegEx pattern for files which should be collected
files_like:
# RegEx pattern for files which should be excluded
ignore_files_like:
- .*generated_plugin_registrant\.dart
- .*\.g\.dart
- .*\.gr\.dart
- .*\.freezed\.dart