P
P
P_Alexander2019-10-22 11:56:25
Sublime Text
P_Alexander, 2019-10-22 11:56:25

Why doesn't sublimeLinter work in Sublime?

Installed Sublime3, then installed the package control, and a couple of topics on the IDE.
Installed SublimeLinter via Packedge Control install. It seems to be installed, in the console it does not seem to show errors, but does not respond to errors.
I set it up according to the documentation guide from here - Docks Who can help set it up?
Log

SublimeLinter: log_handler.py:74      Logging installed; log level INFO
SublimeLinter: sublime_linter.py:72   debug mode: on
SublimeLinter: sublime_linter.py:73   version: 4.13.2
SublimeLinter: sublime_linter.py:322  Delay linting 'options.js' for 0.0s
scan: /home/alexlight/www/sirv.js/node_modules/sirv_external_helpers has been seen before, skipping (using inode) previous path: /home/alexlight/www/sirv.js/custom_node_modules/
// При вводе каких-то символов в файл, реагирует вот так 
SublimeLinter: sublime_linter.py:322  Delay linting 'options.js' for 0.3s
SublimeLinter: sublime_linter.py:322  Delay linting 'options.js' for 0.3s
SublimeLinter: sublime_linter.py:322  Delay linting 'options.js' for 0.3s
SublimeLinter: sublime_linter.py:322  Delay linting 'options.js' for 0.3s
SublimeLinter: sublime_linter.py:322  Delay linting 'options.js' for 0.3s
SublimeLinter: sublime_linter.py:322  Delay linting 'options.js' for 0.3s
SublimeLinter: sublime_linter.py:322  Delay linting 'options.js' for 0.3s

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
P_Alexander, 2019-10-22
@P_Alexander

It turns out that it works, only you need to deliver plugins for it yourself, namely for JS, you can jshint or eslint
How to install them!? This is provided that you have installed SublimeLinter and re-logged into Sublime.
1. Install the necessary npm packages, I set them globally, that is:
For jshint - sudo npm install -g jshint
For eslint - sudo npm install -g eslint
2. Install the required plugin via Packege Control
For jshint - SublimeLinter-jshint
For eslint - SublimeLinter -eslint
Restart environment (Sublime 3)
Make magic :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question