From 55fab7238c0f0e257d126e438033c8895fa1a69c Mon Sep 17 00:00:00 2001 From: HyBer <59885141+BBboy01@users.noreply.github.com> Date: Wed, 29 May 2024 13:00:31 +0800 Subject: [PATCH] Update stylelint.lua --- lua/guard-collection/linter/stylelint.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/guard-collection/linter/stylelint.lua b/lua/guard-collection/linter/stylelint.lua index 1426c3d..95a4f9c 100644 --- a/lua/guard-collection/linter/stylelint.lua +++ b/lua/guard-collection/linter/stylelint.lua @@ -1,8 +1,8 @@ local lint = require('guard.lint') return { - cmd = 'stylelint', - args = { '--formatter', 'json', '--stdin', '--stdin-filename' }, + cmd = 'npx', + args = { 'stylelint', '--formatter', 'json', '--stdin', '--stdin-filename' }, stdin = true, fname = true, find = {