forked from melodic-software/claude-code-plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.editorconfig
More file actions
150 lines (113 loc) · 2.65 KB
/
.editorconfig
File metadata and controls
150 lines (113 loc) · 2.65 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
# .editorconfig for claude-code-plugins repository
# EditorConfig helps maintain consistent coding styles across different editors and IDEs
#
# Official Documentation: https://editorconfig.org/
# For VS Code: Install "EditorConfig for VS Code" extension
# top-most EditorConfig file
root = true
# ===========================
# Default Settings (All Files)
# ===========================
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 2
# ===========================
# Documentation Files
# ===========================
[*.md]
# Markdown may use trailing spaces for line breaks (two spaces = <br>)
# However, markdownlint prefers explicit <br> tags, so trim is safe
trim_trailing_whitespace = true
indent_size = 2
[*.txt]
indent_size = 2
# ===========================
# Configuration Files
# ===========================
[*.{json,yml,yaml,toml}]
indent_size = 2
[*.ini]
indent_size = 2
[.editorconfig]
indent_size = 2
[.gitignore]
indent_size = 2
[.gitattributes]
indent_size = 2
# ===========================
# Shell Scripts (Unix)
# ===========================
[*.{sh,bash,zsh,fish}]
end_of_line = lf
indent_size = 2
# ===========================
# PowerShell Scripts (Windows)
# ===========================
[*.{ps1,psm1,psd1}]
end_of_line = crlf
indent_size = 4
# ===========================
# Windows Batch Files
# ===========================
[*.{cmd,bat}]
end_of_line = crlf
indent_size = 2
# ===========================
# Web Files
# ===========================
[*.{html,css,scss,js,ts,jsx,tsx,vue}]
indent_size = 2
# ===========================
# Source Code
# ===========================
[*.{c,cpp,h,cs,java,py,rb,go,rs}]
indent_size = 4
# Python follows PEP 8 (4 spaces)
[*.py]
indent_size = 4
# C# follows Microsoft conventions (4 spaces)
[*.cs]
indent_size = 4
# ===========================
# .NET Project Files
# ===========================
[*.{csproj,vbproj,fsproj,sln,props,targets}]
end_of_line = crlf
indent_size = 2
# ===========================
# Docker Files
# ===========================
[Dockerfile*]
end_of_line = lf
indent_size = 2
[*.dockerfile]
end_of_line = lf
indent_size = 2
[docker-compose*.yml]
end_of_line = lf
indent_size = 2
# ===========================
# CI/CD Configuration
# ===========================
[*.{jenkinsfile}]
end_of_line = lf
indent_size = 2
[.{gitlab-ci,travis,appveyor}.yml]
end_of_line = lf
indent_size = 2
# ===========================
# Special Cases
# ===========================
# Makefiles require tabs
[Makefile]
indent_style = tab
[*.mk]
indent_style = tab
# Calendar files (Windows convention)
[*.ics]
end_of_line = crlf
indent_size = 2