Skip to content

Commit 4eed762

Browse files
committed
update
1 parent 4fc63a2 commit 4eed762

File tree

16 files changed

+1649
-18
lines changed

16 files changed

+1649
-18
lines changed

.editorconfig

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
################################################################################################################
2+
# IDE/text editor config style:
3+
#
4+
# std:
5+
# - http://editorconfig.org
6+
# - https://github.com/editorconfig/editorconfig-core-go
7+
#
8+
# usage ref:
9+
# - https://github.com/editorconfig/editorconfig/wiki/Projects-Using-EditorConfig
10+
# - https://github.com/gogs/gogs/blob/master/.editorconfig
11+
# - https://github.com/django/django/blob/master/.editorconfig
12+
# - https://github.com/vuejs/vue/blob/master/.editorconfig
13+
#
14+
################################################################################################################
15+
16+
root = true
17+
18+
[*]
19+
indent_style = space
20+
indent_size = 4
21+
charset = utf-8
22+
end_of_line = lf
23+
trim_trailing_whitespace = true
24+
insert_final_newline = true
25+
max_line_length = 600
26+
27+
28+
################################################################################################################
29+
# for all languages
30+
################################################################################################################
31+
32+
# for golang:
33+
[*.go]
34+
indent_style = tab
35+
indent_size = 4
36+
37+
[*.tmpl]
38+
indent_style = tab
39+
indent_size = 2
40+
41+
# for java:
42+
[*.{groovy, java, kt, kts}]
43+
indent_style = tab
44+
45+
[*.{xml, xsd}]
46+
indent_style = tab
47+
48+
49+
[*.py]
50+
indent_size = 4
51+
max_line_length = 119
52+
53+
[*.{js, ts, tsx}]
54+
indent_size = 2
55+
56+
[*.html]
57+
indent_size = 2
58+
59+
[*.{less, css}]
60+
indent_size = 2
61+
62+
################################################################################################################
63+
# for script
64+
################################################################################################################
65+
66+
67+
# Makefiles always use tabs for indentation
68+
[Makefile]
69+
indent_style = tab
70+
71+
[Makefile.*]
72+
indent_style = tab
73+
74+
# Batch files use tabs for indentation
75+
[*.bat]
76+
indent_style = tab
77+
78+
79+
################################################################################################################
80+
# for files
81+
################################################################################################################
82+
83+
84+
[*.json]
85+
indent_size = 2
86+
87+
[*.{tsx, jsx}]
88+
indent_size = 2
89+
90+
[{*.yml, *.yaml}]
91+
indent_size = 2
92+
93+
[*.sql]
94+
indent_size = 2
95+
96+
[*.md]
97+
insert_final_newline = false
98+
trim_trailing_whitespace = false
99+

.env.local

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2+
# lib name:
3+
NEW_LIB_NAME="my_lib"
4+
5+
6+
# publish to pypi:
7+
UV_PUBLISH_TOKEN="pypi_token"

0 commit comments

Comments
 (0)