Sublime Forum

After Updating Sublimelinter I got this Problem

#1

Pug Linter

reloading plugin SublimeLinter-pug-lint.linter
SublimeLinter: WARNING: puglint: Defining ‘cls.version_args’ has no effect. Please cleanup and remove these settings.
[2019-07-26 08:17:01,346 - WARNING - SublimeLinter.lint.linter] puglint: Defining ‘cls.version_args’ has no effect. Please cleanup and remove these settings.
SublimeLinter: WARNING: puglint: Defining ‘cls.version_re’ has no effect. Please cleanup and remove these settings.
[2019-07-26 08:17:01,346 - WARNING - SublimeLinter.lint.linter] puglint: Defining ‘cls.version_re’ has no effect. Please cleanup and remove these settings.
SublimeLinter: WARNING: puglint: Defining ‘cls.version_requirement’ has no effect. Please cleanup and remove these settings.
[2019-07-26 08:17:01,346 - WARNING - SublimeLinter.lint.linter] puglint: Defining ‘cls.version_requirement’ has no effect. Please cleanup and remove these settings.
SublimeLinter: WARNING: puglint: Defining ‘cls.npm_name’ has no effect. Please cleanup and remove these settings.
[2019-07-26 08:17:01,346 - WARNING - SublimeLinter.lint.linter] puglint: Defining ‘cls.npm_name’ has no effect. Please cleanup and remove these settings.
SublimeLinter: WARNING: puglint: Defining ‘cls.executable’ has no effect. Please cleanup and remove these settings.
[2019-07-26 08:17:01,346 - WARNING - SublimeLinter.lint.linter] puglint: Defining ‘cls.executable’ has no effect. Please cleanup and remove these settings.

BEM Linter

reloading plugin SublimeLinter-contrib-bemlint.linter
SublimeLinter: ERROR: bemlint: Defining ‘cls.syntax’ has no effect anymore. Use http://www.sublimelinter.com/en/stable/linter_settings.html#selector instead.
[2019-07-26 08:16:56,142 - WARNING - process] Could not import subprocess32 module, falling back to subprocess module
[2019-07-26 08:16:55,862 - ERROR - SublimeLinter.lint.linter] bemlint: Defining ‘cls.syntax’ has no effect anymore. Use http://www.sublimelinter.com/en/stable/linter_settings.html#selector instead.
SublimeLinter: WARNING: bemlint: Defining ‘cls.version_args’ has no effect. Please cleanup and remove these settings.
[2019-07-26 08:16:56,362 - WARNING - SublimeLinter.lint.linter] bemlint: Defining ‘cls.version_args’ has no effect. Please cleanup and remove these settings.
SublimeLinter: WARNING: bemlint: Defining ‘cls.version_re’ has no effect. Please cleanup and remove these settings.
[2019-07-26 08:16:56,362 - WARNING - SublimeLinter.lint.linter] bemlint: Defining ‘cls.version_re’ has no effect. Please cleanup and remove these settings.
SublimeLinter: WARNING: bemlint: Defining ‘cls.version_requirement’ has no effect. Please cleanup and remove these settings.
[2019-07-26 08:16:56,362 - WARNING - SublimeLinter.lint.linter] bemlint: Defining ‘cls.version_requirement’ has no effect. Please cleanup and remove these settings.
SublimeLinter: ERROR: bemlint disabled. ‘cls.defaults’ is mandatory and MUST be a dict.
[2019-07-26 08:16:56,363 - ERROR - SublimeLinter.lint.linter] bemlint disabled. ‘cls.defaults’ is mandatory and MUST be a dict.

0 Likes

#2

For bemlint, you may manually use https://github.com/DesTincT/SublimeLinter-contrib-bemlint/pull/2/files if the author is not responsive.

0 Likes

#3

i’m in windows and noob i don’t know how to locate linter.py file :frowning:

0 Likes

#4
  1. Click on ST’s menu: Preferences > Browse Packages...
  2. Create Packages/SublimeLinter-contrib-bemlint/linter.py with the one in the PR. (if directory SublimeLinter-contrib-bemlint doesn’t exist, create it manually.)
  3. Restarting your ST may be needed

NOTE: If the PR is merged and a new version is release, I suggest you delete Packages/SublimeLinter-contrib-bemlint/linter.py then, because it will override the one in the official package.

1 Like

#5

i have now this kind of problem :frowning:

SublimeLinter: #1 bemlint index.html ERROR:

  Execution failed

  [WinError 193] %1 is not a valid Win32 application

  D:\1 - OFFICE FILES\WORKBENCH  (working dir)
  > C:/Users/USER/AppData/Roaming/npm/node_modules/bemlint/bin/bemlint.js r:\temp\tmpxyb7ze.html --format compact
0 Likes

#6

What’s your SL4’s settings for bemlint? bemlint.bat should be used on Windows automatically rather than the .js one…

0 Likes

#7

oh i’m sorry i have set the setting of the bemlint :smiley: and now ok now :wink:
thanks for your very fast feedback sir :slight_smile:

image

0 Likes

#8

glad it helps.

0 Likes

#9

and i think WARNINGS of Puglint is Okay :slight_smile:

0 Likes

#10

It’s fine. Just some useless attributes for SL4 cause annoying warnings.

1 Like

#11

thanks again :+1::blush:

1 Like