diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..c2966b6 --- /dev/null +++ b/.editorconfig @@ -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 diff --git a/.luarc.json b/.luarc.json index 0bd22f3..98a61b1 100644 --- a/.luarc.json +++ b/.luarc.json @@ -11,6 +11,16 @@ "checkThirdParty": "Disable", "library": [ "test/plenary" + ], + "ignoreDir": [ + "/.meta", + "/.log", + ".vscode" + ] + }, + "diagnostics": { + "unusedLocalExclude": [ + "_*" ] } }