aboutsummaryrefslogtreecommitdiffstats
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 00000000..d5678fdb
--- /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"
+ },
+ "diagnostics" : {
+ "disable" : [
+ "unnecessary-if"
+ ],
+ "enables": [
+ "iter-variable-reassign",
+ "non-literal-expressions-in-assert",
+ "incomplete-signature-doc",
+ "missing-global-doc"
+ ]
+ },
+ "strict": {
+ "typeCall": true,
+ "arrayIndex": true
+ },
+ "codeAction": {
+ "insertSpace": true
+ },
+ "workspace": {
+ "ignoreDir": [
+ "lspconfig/lua/",
+ "deps"
+ ]
+ }
+}