From dcbc6c0579871ce3f9b813b0d92f3b7642c750a1 Mon Sep 17 00:00:00 2001 From: herr kaste Date: Wed, 5 May 2021 11:08:00 +0200 Subject: [PATCH 1/2] Add `${temp_file}` marker to `cmd` Implicit adding of the `${temp_file}` by the framework has been deprecated and SublimeLinter also logs about it. --- linter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linter.py b/linter.py index 83269eb..a04e5ef 100644 --- a/linter.py +++ b/linter.py @@ -2,7 +2,7 @@ class CSSLint(Linter): - cmd = 'csslint --format=compact' + cmd = 'csslint --format=compact ${temp_file}' regex = r'''(?xi) ^.+:\s* # filename From 2f9e8ebccfe5057349e8d563b774481a22261f22 Mon Sep 17 00:00:00 2001 From: herr kaste Date: Mon, 17 May 2021 15:37:21 +0200 Subject: [PATCH 2/2] Add `${args}` marker to cmd --- linter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linter.py b/linter.py index a04e5ef..d69a34b 100644 --- a/linter.py +++ b/linter.py @@ -2,7 +2,7 @@ class CSSLint(Linter): - cmd = 'csslint --format=compact ${temp_file}' + cmd = 'csslint --format=compact ${args} ${temp_file}' regex = r'''(?xi) ^.+:\s* # filename