summaryrefslogtreecommitdiff
path: root/.emmyrc.json
diff options
context:
space:
mode:
Diffstat (limited to '.emmyrc.json')
-rw-r--r--.emmyrc.json30
1 files changed, 30 insertions, 0 deletions
diff --git a/.emmyrc.json b/.emmyrc.json
new file mode 100644
index 0000000..c45447a
--- /dev/null
+++ b/.emmyrc.json
@@ -0,0 +1,30 @@
+{
+ "$schema": "https://raw.githubusercontent.com/EmmyLuaLs/emmylua-analyzer-rust/refs/heads/main/crates/emmylua_code_analysis/resources/schema.json",
+ "runtime": {
+ "version": "LuaJIT",
+ "requirePattern": ["lua/?.lua", "lua/?/init.lua"]
+ },
+ "diagnostics" : {
+ "disable" : [
+ "unnecessary-if"
+ ],
+ "enables": [
+ "iter-variable-reassign",
+ "non-literal-expressions-in-assert",
+ "incomplete-signature-doc"
+ ]
+ },
+ "strict": {
+ "typeCall": true,
+ "arrayIndex": true
+ },
+ "codeAction": {
+ "insertSpace": true
+ },
+ "workspace": {
+ "library": [
+ "$VIMRUNTIME",
+ "${3rd}/luv/library"
+ ]
+ }
+}