diff --git a/.emmyrc.json b/.emmyrc.json index 04aa9d3724..34d1e0b860 100644 --- a/.emmyrc.json +++ b/.emmyrc.json @@ -1,6 +1,17 @@ { - "diagnostics" : { - "disable" : [ + "$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" ] },