forked from ietf-tools/datatracker
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.editorconfig
58 lines (43 loc) · 1.34 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
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org
root = true
# Global settings for IETF datatracker
# ---------------------------------------------------------
# PEP8 Style
[*]
indent_size = 4
indent_style = space
charset = utf-8
trim_trailing_whitespace = false
insert_final_newline = true
# Specializations below *add to* the above defaults
# Settings for .github folder
# ---------------------------------------------------------
# GitHub Markdown Style
[.github/**]
indent_size = 2
# Settings for client-side JS / Vue files
# ---------------------------------------------------------
# StandardJS Style
[client/**]
indent_size = 2
[dev/**.js]
indent_size = 2
[{package.json,.eslintrc.js,.yarnrc.yml,vite.config.js,jsconfig.json}]
indent_size = 2
# Settings for cypress tests
# ---------------------------------------------------------
# StandardJS Style
[cypress/**]
indent_size = 2
# Settings for HTML templates
# ---------------------------------------------------------
# HTML should not have final newlines, because that causes visible whitespace when includes are rendered
[ietf/**.html]
insert_final_newline = false
# Settings for Kubernetes yaml
# ---------------------------------------------------------
# Use 2-space indents
[k8s/**.yaml]
indent_size = 2