Skip to content

Commit ba2a4fa

Browse files
committed
add some useful repo files
1 parent 1ccc8ac commit ba2a4fa

File tree

3 files changed

+42
-0
lines changed

3 files changed

+42
-0
lines changed

.editorconfig

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Universal config for text editors
2+
# https://EditorConfig.org
3+
4+
# top-most EditorConfig file
5+
# Set to true to stop .editorconfig files search on current file.
6+
root = true
7+
8+
[*]
9+
insert_final_newline = true
10+
charset = utf-8
11+
12+
[{Makefile, Makefile.*, *.mk}]
13+
indent_style = tab
14+
indent_size = 4
15+
16+
[{*.py, *.pyi}]
17+
indent_style = space
18+
indent_size = 4
19+
max_line_length = 120
20+
21+
[{*.yml, *.yaml}]
22+
indent_style = space
23+
indent_size = 2
24+
max_line_length = 120
25+
end_of_line = lf
26+
ij_yaml_spaces_within_brackets = true
27+
# ij_yaml_block_mapping_on_new_line = true
28+
29+
[*.md]
30+
indent_style = space
31+
indent_size = 4
32+
max_line_length = 140

.gitattributes

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Normalize files' EOL during checkin in case people don't have core.autocrlf set.
2+
# More details: https://mirrors.edge.kernel.org/pub/software/scm/git/docs/gitattributes.html
3+
* text=auto
4+
5+
# yamllint required LF line endings:
6+
*.yml text eol=lf
7+
*.yaml text eol=lf

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/.idea/
2+
3+
/.temp/

0 commit comments

Comments
 (0)