Skip to content

Commit 5fa5e70

Browse files
committed
chore: add .editorconfig file
1 parent f02d524 commit 5fa5e70

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

.editorconfig

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
root = false
2+
3+
[*]
4+
# e.g. tabstop
5+
tab_width = unset
6+
7+
[*.sh]
8+
indent_size = 4
9+
indent_style = space
10+
11+
[{.gitconfig,**/.git/config,config.worktree}]
12+
indent_style = tab
13+
14+
[*.{lua,nix,scm,json,yml,yaml}]
15+
indent_style = space
16+
indent_size = 2
17+
18+
[*.lua]
19+
max_line_length = 90
20+
21+
[*.{yml,yaml}]
22+
quote_type = single

.luarc.json

+10
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,16 @@
1111
"checkThirdParty": "Disable",
1212
"library": [
1313
"test/plenary"
14+
],
15+
"ignoreDir": [
16+
"/.meta",
17+
"/.log",
18+
".vscode"
19+
]
20+
},
21+
"diagnostics": {
22+
"unusedLocalExclude": [
23+
"_*"
1424
]
1525
}
1626
}

0 commit comments

Comments
 (0)