From 99b9e4020660709030f0077bf2ca550a881b8195 Mon Sep 17 00:00:00 2001 From: herr kaste Date: Sat, 3 Sep 2022 01:14:37 +0200 Subject: [PATCH] Fix deprecation warnings --- linter.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/linter.py b/linter.py index b2309bc..2804c67 100644 --- a/linter.py +++ b/linter.py @@ -16,7 +16,7 @@ class Stylint(NodeLinter): """Provides an interface to stylint.""" - cmd = 'stylint @ *' + cmd = 'stylint ${temp_file} ${args}' defaults = { 'selector': 'source.stylus, source.stylus.embedded.html', '--ignore=,': '', @@ -27,4 +27,3 @@ class Stylint(NodeLinter): multiline = True error_stream = util.STREAM_STDOUT tempfile_suffix = 'styl' - config_file = ('--config', '.stylintrc', '~')