elstgav / SublimeLinter-slim-lint

SublimeLinter plugin for slim templates, using slim-lint
MIT License
9 stars 4 forks source link

Defining 'cls.syntax' has no effect anymore. #8

Open knagode opened 5 years ago

knagode commented 5 years ago

I just wanted to install this linter and bumped into this - apparently it is pretty common error in other packages too since there were some changes re depracation. How can we fix this?

SublimeLinter: ERROR:
=====================

slimlint: Defining 'cls.syntax' has no effect anymore. Use http://www.sublimelinter.com/en/stable/linter_settings.html#selector instead.

SublimeLinter: ERROR:
=====================

slimlint disabled. 'selector' is mandatory in 'cls.defaults'.
 See http://www.sublimelinter.com/en/stable/linter_settings.html#selector
elstgav commented 5 years ago

Hi @knagode thanks for reporting—I saw you opened and closed a pull request—were you able to resolve the issue, or find an alternative plugin? I’m no longer actively maintaining this linter, but I’m happy to accept PRs or link to a newer alternative!

knagode commented 5 years ago

@elstgav Unfortunately it didn't work. I searched for similar errors on another plugin and saw what change was needed to fix the issue, however it didn't solve the problem (probably I am not familiar enough with Sublime plugin development). Based on what I saw - it should be a small change but person needs to understand what he is doing :)

zerma commented 4 years ago

I fixed this in this PR https://github.com/elstgav/SublimeLinter-slim-lint/pull/10 looks like it's working so far