forked from Will33ELS/votifier-client-php
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.editorconfig
43 lines (34 loc) · 1.36 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
# EditorConfig is awesome
# http://EditorConfig.org
# This file is based on The Common EditorConfig Template project
# https://github.com/Lin-Buo-Ren/the-common-editorconfig-template
# Public Domain
## Indicate that is the top-most EditorConfig file to search for ##
root = true
## Common setting for all files not specified ##
[*]
# The character set of the file
charset = utf-8
# The end of line(EOL) sequence of the file
end_of_line = lf
# Whether to ensure there's always a single end of line sequence at the end of the file for compatibility of some utilities
insert_final_newline = true
# Determine the actual(Space)/visual(Tab) width of one indentation level
indent_size = 4
# Determine the default indentation character sequence
# tab: 1 tab per indentation level
# space: {indent_size} per indentation level
indent_style = space
# Whether to trim out the (unnecessary) trailing whitespace(s) of the line
trim_trailing_whitespace = true
## Markdown specific settings ##
[*.{md,mkd,mkdn,markdown}]
# Trailing whitespace means manual linebreaks in Markdown thus is not trimmable
trim_trailing_whitespace = false
## YAML specific settings ##
[*.{yml,yaml}]
indent_size = 2
## Git specific settings ##
# Avoid git patch fail to apply due to the stripped unmodified lines that contains only spaces, which also matches as "trailing spaces"
[.git/**]
trim_trailing_whitespace = false