-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.editorconfig
More file actions
89 lines (59 loc) · 1.28 KB
/
.editorconfig
File metadata and controls
89 lines (59 loc) · 1.28 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
# .editorconfig
#
# DESCRIPTION
# Configuration file for EditorConfig.
#
# This configuration is based on the generic
# configuration published on GitHub.
#
# AUTHOR
# krnd
#
# VERSION
# 1.0
#
# SEE ALSO
# https://editorconfig.org/#file-format-details
# https://gist.github.com/krnd
#
################### DEFAULTS ###############################
# Top-level configuration file
root = true
# Default configuration
[*]
indent_style = space
indent_size = 4
tab_width = indent_size
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
# Limited editor support
max_line_length = off
################### FILETYPE ###############################
########## INI ##########
[{*.ini, .editorconfig}]
indent_size = 4
########## JavaScript ##########
[*.{js,jsdoc}]
indent_size = 2
########## JSON ##########
[*.json]
indent_size = 4
########## Markdown ##########
[*.md]
indent_size = 4
########## Python ##########
[*.py]
indent_size = 4
########## YAML ##########
[{*.{yml, yaml}, .eslintrc}]
indent_size = 2
################### SPECIAL FILES ##########################
########## gitignore ##########
[{.gitignore, .eslintignore}]
indent_size = 2
##### makefile #####
[[Mm]akefile]
indent_size = 4
indent_style = tab