Skip to content

Commit 24dbeec

Browse files
authored
chore: align repository development defaults (#14)
Align editor defaults with this repository’s languages and existing tools, preserve generated files and binary assets, and fill the missing Git/configuration defaults. Changed files: `.editorconfig`, `.gitattributes`. Validation: EditorConfig resolution, Git attributes and ignore probes, configuration parsing, whitespace checks, repository commit/push hooks where provided, and redacted secret scans passed. The full diff received a separate self-review. Application source is unchanged.
1 parent de87b5b commit 24dbeec

2 files changed

Lines changed: 31 additions & 0 deletions

File tree

.editorconfig

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
insert_final_newline = true
7+
trim_trailing_whitespace = true
8+
indent_style = space
9+
indent_size = 2
10+
11+
[*.{md,mdx}]
12+
trim_trailing_whitespace = false
13+
14+
[*.py]
15+
indent_style = space
16+
indent_size = 4
17+
18+
# Preserve captured configuration and recovery snapshots on save.
19+
[*.{cfg,conf,bkp}]
20+
trim_trailing_whitespace = false
21+
insert_final_newline = unset
22+
end_of_line = unset
23+
24+
# Lockfiles are written by their owning tool.
25+
[devenv.lock]
26+
indent_style = unset
27+
indent_size = unset
28+
trim_trailing_whitespace = unset
29+
insert_final_newline = unset

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Normalize detected text while preserving binary contents.
2+
* text=auto eol=lf

0 commit comments

Comments
 (0)