-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.editorconfig
More file actions
125 lines (94 loc) · 1.6 KB
/
.editorconfig
File metadata and controls
125 lines (94 loc) · 1.6 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
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
# EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
root = true
# All files
[*]
charset = utf-8
end_of_line = lf
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true
# Dart files
[*.dart]
indent_size = 2
# YAML files
[*.yml]
indent_size = 2
# JSON files
[*.json]
indent_size = 2
# Markdown files
[*.md]
trim_trailing_whitespace = false
max_line_length = 100
# Shell scripts
[*.sh]
end_of_line = lf
indent_size = 2
# PowerShell scripts
[*.ps1]
end_of_line = crlf
indent_size = 4
# XML files
[*.xml]
indent_size = 4
# Package files
[pubspec.yaml]
indent_size = 2
[pubspec.lock]
indent_size = 2
# Analysis options
[analysis_options.yaml]
indent_size = 2
# Configuration files
[*.config]
indent_size = 2
# Docker files
[Dockerfile*]
indent_size = 2
# Makefile
[Makefile]
indent_style = tab
indent_size = 4
# Web files
[*.html]
indent_size = 2
[*.css]
indent_size = 2
[*.js]
indent_size = 2
[*.ts]
indent_size = 2
# Platform-specific files
[*.kt]
indent_size = 4
[*.swift]
indent_size = 4
[*.java]
indent_size = 4
[*.xml]
indent_size = 4
# Test files
[test/**/*.dart]
indent_size = 2
[integration_test/**/*.dart]
indent_size = 2
[test_driver/**/*.dart]
indent_size = 2
# Generated files (don't format)
[lib/**/*.g.dart]
insert_final_newline = false
trim_trailing_whitespace = false
[lib/**/*.pb.dart]
insert_final_newline = false
trim_trailing_whitespace = false
# Documentation files
[docs/**/*.md]
trim_trailing_whitespace = false
max_line_length = 100
# Scripts and tools
[scripts/**/*]
indent_size = 2
[tools/**/*]
indent_size = 2