diff options
Diffstat (limited to '.emmyrc.json')
| -rw-r--r-- | .emmyrc.json | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/.emmyrc.json b/.emmyrc.json new file mode 100644 index 000000000..34d1e0b86 --- /dev/null +++ b/.emmyrc.json @@ -0,0 +1,25 @@ +{ + "$schema": "https://raw.githubusercontent.com/EmmyLuaLs/emmylua-analyzer-rust/refs/heads/main/crates/emmylua_code_analysis/resources/schema.json", + "format": { + "externalTool": { + "program": "stylua", + "args": [ + "-", + "--stdin-filepath", + "${file}" + ] + } + }, + "diagnostics": { + "disable": [ + "unnecessary-if" + ] + }, + "codeAction": { + "insertSpace": true + }, + "strict": { + "typeCall": true, + "arrayIndex": true + } +} |
