Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 610c75b

Browse files
chore: add configuration file .editorconfig (doocs#3336)
1 parent bd9def9 commit 610c75b

File tree

3 files changed

+28
-2
lines changed

3 files changed

+28
-2
lines changed

‎.editorconfig

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# REF: https://spec.editorconfig.org/#supported-pairs
2+
3+
root = true
4+
5+
[*]
6+
indent_style = space
7+
indent_size = 4
8+
# tab_width = 4
9+
# end_of_line = lf
10+
charset = utf-8
11+
# spelling_language = en-US
12+
trim_trailing_whitespace = true
13+
insert_final_newline = true
14+
15+
[*.{md}]
16+
trim_trailing_whitespace = false
17+
18+
[*.{go}]
19+
indent_style = tab
20+
21+
[*.{yml,yaml}]
22+
indent_size = 2

‎.husky/commit-msg

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
npx --no -- commitlint --edit 1ドル
1+
#!/bin/sh
2+
3+
npx --no -- commitlint --edit 1ドル

‎.husky/pre-commit

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
npx lint-staged --allow-empty 1ドル
1+
#!/bin/sh
2+
3+
npx lint-staged --allow-empty 1ドル

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /