From d91927b684fd0610372b73f755030cbc4f4f5aa8 Mon Sep 17 00:00:00 2001 From: fadrian06 Date: Wed, 24 Jan 2024 15:28:21 -0400 Subject: [PATCH] Added Lint script to SublimeText build systems --- flight.sublime-project | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/flight.sublime-project b/flight.sublime-project index 26552b2..9d1a3da 100644 --- a/flight.sublime-project +++ b/flight.sublime-project @@ -2,6 +2,7 @@ "folders": [ { "path": ".", + "name": "FlightPHP/Core", } ], "settings": { @@ -12,10 +13,29 @@ "intelephense.format.braces": "psr12", }, }, - "formatters": - { - "embedding.php": "LSP-intelephense" - }, + "formatters": { + "embedding.php": "LSP-intelephense", + "source.json.composer": "LSP-json", + "source.json.sublime": "LSP-json", + }, + "LSP-html": { + "enabled": false + }, + "LSP-tailwindcss": { + "enabled": false + }, }, }, + "build_systems": [ + { + "name": "Linter - HARD", + "quiet": true, + "shell_cmd": "composer lint -- --no-ansi -lmax" + }, + { + "name": "Linter - Default", + "quiet": true, + "shell_cmd": "composer lint -- --no-ansi" + } + ], }