-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
111 lines (111 loc) · 3.23 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
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
# Version: 2.1.1 (Using https://semver.org/)
# Updated: 2022-05-23
# See https://github.com/RehanSaeed/EditorConfig/releases for release notes.
# See https://github.com/RehanSaeed/EditorConfig for updates to this file.
# See http://EditorConfig.org for more information about .editorconfig files.
##########################################
# Common Settings
##########################################
# This file is the top-most EditorConfig file
root = true
[*]
indent_size = 2
end_of_line = crlf
indent_style = space
insert_final_newline = false
trim_trailing_whitespace = true
# Matches the exact package files
[*.{package.json, package-lock.json, yarn.lock, pnpm-lock.yaml, pnpm-workspace.yaml, .eslintrc, eslintrc.js, .eslintignore, .prettierrc, .prettierrc.js, .prettierignore, firebase.json, babel.config.json, edgeware.json, .travis.yml, LICENSE, VERSION}]
indent_size = 2
end_of_line = crlf
indent_style = space
insert_final_newline = false
trim_trailing_whitespace = true
# JSON Files
[*.{json, json5, jsonc, webmanifest}]
indent_size = 2
end_of_line = crlf
indent_style = space
trim_trailing_whitespace = true
# JS files and typechecker files
[*.{js, cjs, mjs, ejs, ts, cts, mts, jsx, tsx, vue, svelte, astro, gql, graphql}]
charset = utf-8
indent_size = 2
end_of_line = crlf
indent_style = space
trim_trailing_whitespace = true
# Language for Data Science
[*.{ipynb, nb, py, pyx, pxi, pxd, r, rmd}]
indent_size = 2
end_of_line = crlf
indent_style = space
trim_trailing_whitespace = true
# Makeup languages
[*.{xml, xsl, htm, html, xhtml, cshtml, vbhtml, haml, phtml, jinja, hbs, handlebars}]
indent_size = 2
end_of_line = crlf
indent_style = space
insert_final_newline = false
trim_trailing_whitespace = true
# Styles languages
[*.{css, scss, sass, less, styl}]
indent_size = 2
end_of_line = crlf
indent_style = space
trim_trailing_whitespace = true
# Object language
[*.{v, c, cpp, h, hpp, m, cs, pas, nim, rs, go, java, kt, scala, swift, ruby, php, sol, tf, OCaml, mqh, mq2, mq5}]
indent_size = 2
end_of_line = crlf
indent_style = space
insert_final_newline = false
trim_trailing_whitespace = true
# Visual Studio XML Project Files
[*.{csproj, vbproj, vcxproj.filters, proj, projitems, shproj}]
indent_size = 2
end_of_line = crlf
indent_style = space
insert_final_newline = false
trim_trailing_whitespace = true
# Visual Studio Solution Files
[*.sln]
indent_size = 2
end_of_line = crlf
indent_style = space
insert_final_newline = false
trim_trailing_whitespace = true
# XML Configuration Files
[*.{xml, config, props, targets, nuspec, resx, ruleset, vsixmanifest, vsct}]
indent_size = 2
end_of_line = crlf
indent_style = space
insert_final_newline = false
trim_trailing_whitespace = true
# YML, YAML Files
[*.{yml, yaml}]
indent_size = 2
end_of_line = crlf
indent_style = space
insert_final_newline = false
trim_trailing_whitespace = true
# Markdown Files
[*.{md, mdx}]
indent_size = 2
end_of_line = crlf
indent_style = space
insert_final_newline = false
trim_trailing_whitespace = true
# Batch Files
[*.{cmd, bat, sh, Dockerfile, Compose}]
indent_size = 2
end_of_line = crlf
indent_style = space
insert_final_newline = false
trim_trailing_whitespace = true
# Makefiles
[Makefile]
indent_size = 2
end_of_line = crlf
indent_style = space
insert_final_newline = false
trim_trailing_whitespace = true