forked from qld-gov-au/qgds-vanilla
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.editorconfig
42 lines (34 loc) · 812 Bytes
/
.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
# http://editorconfig.org
root = true
[*]
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true
end_of_line = lf
charset = utf-8
# Tab indentation (no size specified)
[Makefile]
indent_style = tab
# Disable line length check for Markdown
# Allow trailing whitespace in Markdown
[*.md]
max_line_length = off
trim_trailing_whitespace = false
# Use 2 spaces for JSON for readability
[*.json]
indent_size = 2
insert_final_newline = true
# Use 2 spaces for YAML files
[*.yml, *.yaml]
indent_size = 2
# Use 2 spaces for web files
[*.css, *.scss, *.html]
indent_size = 2
[*.js, *.ts]
indent_size = 2
# Use 4 spaces for Python (PEP 8 standard)
# Docstrings and comments use max_line_length = 79
[*.py]
indent_size = 4
max_line_length = 79