From d73f2d9657ff701eb7b0baf03942696cdf9d1ff9 Mon Sep 17 00:00:00 2001 From: skewb1k Date: Thu, 7 Aug 2025 05:52:46 +0300 Subject: [PATCH] build(emmyrc.json): use StyLua formatter in .emmyrc.json #35196 --- .emmyrc.json | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) 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" ] },