forked from LpxsBr/project-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
62 lines (51 loc) · 1.09 KB
/
.editorconfig
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
#
# @howstrangeoficial
# aquivo de configuração da extensão editor config, para padronizar a formatação de arquivos
#
# EditorConfig is awesome: https://EditorConfig.org
#
# arquivo editor config mais alto
root = true
# valores padrão para todos os arquivos
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = 140
# markdown e texto
[*.{md,MD,txt}, LICENSE]
trim_trailing_whitespace = false
# typescript e javascript
[*.{ts,js,tsx,jsx}]
block_comment_start = /**
block_comment = *
block_comment_end = */
max_line_length = 200
# configuração e docker
[*.{yml,yaml}]
insert_final_newline = false
max_line_length = 60
# json, prettier e eslint
[*.{json,prettierrc,eslintrc}]
insert_final_newline = false
# css, less, styl, sass e scss
[*.{css,styl,scss,less,sass}]
indent_size = 4
# shell script
[*.sh]
indent_style = tab
indent_size = 4
# husky script
[pre-*]
indent_style = tab
indent_size = 4
# makefile
[Makefile]
indent_style = tab
indent_size = 4
# scripts do windows
[*.bat]
end_of_line = crlf