Skip to content

Commit

Permalink
chore: add .editorconfig file
Browse files Browse the repository at this point in the history
  • Loading branch information
tmillr committed Jul 20, 2024
1 parent f02d524 commit 5fa5e70
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
root = false

[*]
# e.g. tabstop
tab_width = unset

[*.sh]
indent_size = 4
indent_style = space

[{.gitconfig,**/.git/config,config.worktree}]
indent_style = tab

[*.{lua,nix,scm,json,yml,yaml}]
indent_style = space
indent_size = 2

[*.lua]
max_line_length = 90

[*.{yml,yaml}]
quote_type = single
10 changes: 10 additions & 0 deletions .luarc.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,16 @@
"checkThirdParty": "Disable",
"library": [
"test/plenary"
],
"ignoreDir": [
"/.meta",
"/.log",
".vscode"
]
},
"diagnostics": {
"unusedLocalExclude": [
"_*"
]
}
}

0 comments on commit 5fa5e70

Please sign in to comment.