Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
9 views

How to refresh display of Sublime Linter when a file is changed

I am using the plugin SublimeLinter-contrib-phpstan, which works well, but I only see linting changes when I save the file. I would like to see the linting in real-time, so I want it to happen ...
Pierre's user avatar
  • 1,226
0 votes
0 answers
20 views

Sublime - PyCodeStyle - Line Length Property

I'm editing SublimeLinter prefences trying to set line lenth in 100, but I can't get it to work I tried with { "linters": { "pycodestyle": { "ignore": "E501" }...
barrichelos's user avatar
-1 votes
1 answer
57 views

SublimeText EsLint issues- cannot be located

nvm does not play nicely with eslint/sublime. I tirelessly tried to configure this with different paths/plugins. Various errors come out- such as .bin/eslint: line 2: sed: command not found, eslint ...
Ycon's user avatar
  • 1,940
2 votes
2 answers
517 views

Sublime text TODO and others highlighting

I'm looking for a way to highlight TODOs and TODO-like in Sublime text. I tried Linter and SublimeLinter-annotations but I cannot find a way or a clear documentation to better highlight the TODO line. ...
user2342558's user avatar
  • 6,327
0 votes
1 answer
144 views

Make SublimeLinter flake8 linter only lint .py files

Is there a way to have my SublimeLinter flake8 linter only run on *.py files? I know there is an exclude key in the settings where I can specify files to ignore, but I'm looking for something more ...
Nevermore's user avatar
  • 348
1 vote
2 answers
255 views

Installed Node.js and Terminal says I have vulnerabilities

I am using Sublime Text. I have installed the Linter package and the ccslint and htmllint. To install the last two I have had to install Node.js on my Mac. The CSS and HTML linters appear to work fine ...
user2991837's user avatar
0 votes
1 answer
166 views

Python code complexity as Sublime Text 3 Linter

I like the python package radon and use it fairly often to help find/reduce complex code. I'm normally developing in Sublime Text, and running radon beside in console, but would really like to have ...
sur.la.route's user avatar
2 votes
1 answer
901 views

Sublime Linter Path issue can't find flake 8 (probably due to using Pyenv

I installed Sublime Linter and the Sublime Linter Plugin Using Package Control and installed Flake8 using pip. I am using pyenv to manage my Python installs. When installing flake 8 I get this message:...
user3622133's user avatar
0 votes
1 answer
447 views

Ignore flake8 warning in SublimeLinter

I have installed SublimeLinter-flake8. I would like to exclude the W191 warning when I am using SublimeLinter with flake8. I have checked the SublimeLinter docs and tried adding "--ignore W191&...
Fiona's user avatar
  • 25
3 votes
1 answer
162 views

Sublime linter node 14 error circular dependency

I recently installed node v14 and my linter on sublimeText is KO. On every file focus it open a kind of console with this inside: SublimeLinter: #2 eslint file.vue ERROR: ==============================...
user3699170's user avatar
2 votes
1 answer
3k views

How can I fix this issue with SublimeLinter?

I hope it is ok to ask this even though it is not specifically a programming question. I installed the SublimeLinter and SublimeLinter-flake8 packages in Sublime Text 3. I did pip install flake8 and ...
Bernardino Sassoli de' Bianchi's user avatar
1 vote
1 answer
3k views

How can i change indentation settings for flake8 in sublime text?

I am using Sublime Text 3 with the Packet Manager, and installed SublimeLinter and then SublimeLinter-flake8. I want to use tabs for indentation, but I can't find out how. I can't actually find any ...
Artemis's user avatar
  • 13
1 vote
1 answer
1k views

Auto-run a command on saving in Sublime Text

Is it possible to run eslint automatically when I save either a .js or .jsx file in Sublime Text? I'm using the ESLint sublime package right now but I have to manually run it each time using Cmd + ...
MarksCode's user avatar
  • 8,474
0 votes
1 answer
543 views

Sublime Linter with clang can't find header file in header

I'm using sublime text with the sublime linter plugin especially with clang. When I open a folder, it use the root of the folder as a header location, so if I have src ├── World │   ├── Chunk.cpp │  ...
Jean Mathieu's user avatar
0 votes
1 answer
271 views

SublimeText - CSSLint ignore alphabetical order

I'm using Sublime Text 3 and SublimeLinter CSSLint. How can I disable the order-alphabetical warnings? I've found this link: https://github.com/SublimeLinter/SublimeLinter-csslint/issues/15 ...
user2991837's user avatar
0 votes
1 answer
975 views

SublimeLinter not recognize "jest/globals" env

SublimeLinter-Eslint not working after a fresh install of react-native project. shell$ react-native init MyProject Error is "Environment key "jest/globals" is unknown" Running eslint (comand line) ...
Djha Effendi's user avatar
2 votes
2 answers
2k views

SublimeLinter ESLint couldn't find the plugin

When editing javascript files in Sublime Text Editor 3.x, I get the error: Oops! Something went wrong! :( ESLint: 6.0.1. ESLint couldn't find the plugin "eslint-plugin-chai-expect". (The package "...
idan stark's user avatar
0 votes
1 answer
156 views

Sublime Linter / htmltidy not working after Mojave update

HTML linting in Sublime has stopped working since I installed Mojave. I use an older version of SublimeLinter and SublimeLinter-html-tidy as the ignore_match function is useful for hiding 'false ...
user9891601's user avatar
0 votes
0 answers
38 views

SublimeLinter-contrib-remark-lint

I am trying to get remark-lint working in Sublime Text using SublimeLinter-contrib-remark-lint. From Sublime Text console I keep getting WARNING: remarklint cannot locate 'remark'. How could I go ...
KenH's user avatar
  • 1
0 votes
2 answers
424 views

SQLint showing a syntax error, yet batch file is run correctly?

I'm using Sublime Text with the SublimeLinter-contrib-sqlint plugin and following the tutorial examples at https://dev.mysql.com/doc/refman/8.0/en/examples.html, one of which contains the following: ...
Kurt Peek's user avatar
  • 56.2k
0 votes
1 answer
837 views

How to share ESlint settings across multiple SublimeText projects

I have tons of little projects that come and go and I don’t want to always have to create a .eslintrc file in my root dir or do any other special configuration to get my default lint settings to work. ...
MattS's user avatar
  • 180
0 votes
1 answer
33 views

Is it possible to add a lint setting that warns me when there is no newline after a closing curly brace in SublimeLinter-jshint?

I would like to get warned by the linter when there is no new line after a closing curly brace (with some exceptions). For instance, I want to avoid doing this: if (something()) { // ... } ...
NicholasFolk's user avatar
  • 1,121
1 vote
1 answer
1k views

SublimeText linting Python3 with pyflakes in virtualenv

When I open my Python files in Sublime and delete simple things like : at the end of def myFunction():, then I expect the linter to add a red circle in the gutter. But I see nothing in the gutter. I ...
Kermit's user avatar
  • 5,743
1 vote
1 answer
44 views

Difference between SublimeLinter-* and SublimeLinter-contrib-* packages

There doesn't seem to be any good documentation or explanation for the difference between SublimeLinter-* and SublimeLinter-contrib-* packages. What difference, if any, does this naming schema imply?...
D G's user avatar
  • 400
2 votes
1 answer
2k views

Make SublimeLinter show error codes

If I run flake8 at the terminal, it gives me alphanumeric error codes for every error - like F401 for an unused import: $ flake8 ~/test.py /Users/markamery/test.py:1:1: F401 'math' imported but ...
Mark Amery's user avatar
  • 152k
1 vote
1 answer
1k views

cppcheck seems to work but no lint results appear (Subilme Text 3, Mac)

I'm using Sublime Text 3(Version 3.1.1, build 3176) on macOS High Sierra(Version 10.13.3). I want to make SublimeLinter-cppcheck plugin & cppcheck work in my Sublime Text 3, so I installed them ...
ASHIJANKEN's user avatar
0 votes
0 answers
3k views

Sublime Text: Error trying to parse settings: Expected value in Packages\User\SublimeLinter.sublime-settings:1:1

I'm getting the following error in Sublime Text 3: Error trying to parse settings: Expected value in Packages\User\SublimeLinter.sublime-settings:1:1 I've tried removing the package and that makes ...
patrick brady's user avatar
3 votes
1 answer
1k views

How can I disable red flags warnings on sublime 3?

I would like to know how can i disable this red flags warnings (image-link below) to showing and what is this for and which package belongs? I have to be constantly hitting the X and is disturbing the ...
user avatar
2 votes
2 answers
2k views

SublimeLinter: WARNING: jshint cannot locate 'jshint'

I am using Windows. I installed Node.js. SublimeLinter: WARNING: jshint cannot locate 'jshint' I'm getting this error. What should I do?
Ersofis's user avatar
  • 41
0 votes
2 answers
1k views

disable jshint for project using Sublime 3

I have a project in which I'm using standard as the default linter, according to sublimeLinter documentation y need to create a .sublime-project file with the following info: { "folders": [ ...
miguelopezv's user avatar
0 votes
1 answer
69 views

View SublimeLinter (v4) settings from SublimeText3's python console

I'm trying to view all settings for SublimeLinter so that I can update my settings file. I read this page about sublime's view.settings() function, and figured it was probably in there, but the ...
distortedsignal's user avatar
0 votes
0 answers
321 views

Typescript linting in Sublimetext doesn't work after updating Angular project

I updated the node packages of my Angular 4 project with npm install. For whatever strange reason the TypeScript linter in my Sublime Text Editor is now not working any more - it's not highlighting ...
user3255061's user avatar
  • 1,815
1 vote
1 answer
863 views

My SublimeLinter SublimeLinter-contrib-tslint package stopped working today

My SublimeLinter SublimeLinter-contrib-tslint package stopped working today on my mac. I uninstalled the package and reinstalled it. I insured my tslint was in my path and runs from my terminal ...
John Skinner's user avatar
1 vote
1 answer
764 views

Sublimelinter 4.0.2 new update can no longer find any of my linters

So after opening up sublime sublimelinter updated and now none of my linters work. I have looked around online and had no luck. when I updated it said that I can manually install the old version but I ...
Jovanny Elias's user avatar
0 votes
1 answer
819 views

How to configure SublimeLinter 4.0.1

I'm using Sublime Text 3, and SublimeLinter just upgraded itself to version 4.0.1. I've read the docs but can't work out how to get it working properly. I have tried copying the default settings into ...
Little Brain's user avatar
  • 2,807
0 votes
1 answer
1k views

SublimeLinter for JavaScript - enable unused variables warnings

I installed SublimeLinter for linting JavaScript in Sublime. It works, but i want to change it's settings so it'll always detect unused variables. I managed to do it by adding // jshint unused:true to ...
moonlander's user avatar
0 votes
2 answers
1k views

Ignore 'undefined name' for certain global keywords w/ sublimelinter + flake8

Using a bit of an unusual language, processing-py, which is a sort of python wrapper around the java processing language. processing-py introduces many global keywords that don't need to be imported. ...
DomoDomo's user avatar
  • 303
0 votes
0 answers
479 views

Sublime Text 3 Linter Insatlled But Not Working

I just installed the Sublime JS Linter and double-checked via the Command line to make sure it's installed and it says, it is installed. However, the Sublime JS Linter is not working aka not ...
codebwoy's user avatar
  • 145
1 vote
1 answer
128 views

Reek SublimeLinter Setup Issues

I've been trying to get the Reek Linter plugin working with Sublime Text 3 on my OSX machine and I'm having no luck. The plugin is called SublimeLinter-contrib-reek. I've followed the instructions on ...
David Milanese's user avatar
0 votes
1 answer
604 views

SublimeLinter-php not showing unused code

I'm using SublimeLinter-php and it works great overall but it's not showing unused code. From use statements, unused variables, etc, which is really annoying... How can I make it show that? I also ...
John The Tester's user avatar
1 vote
1 answer
174 views

sublime linter stopped working for lesshint when .lesshintrc file added in project root directory

I have installed lesshint via npm npm install lesshint -g installed sublimeLinter and than sublimeLinter-contrib-lesshint package and the linter is enabled. now whenever I open any .less file in ...
xkeshav's user avatar
  • 53.8k
1 vote
0 answers
41 views

With ESLint running in SublimeLinter, is it possible to change the colors for warnings/errors from different plugins?

I'm using a variety of ESLint plugins to develop my application, and it would be immensely useful for me to get SublimeLinter to display a different color for warnings/errors coming from particular ...
thisissami's user avatar
  • 16.2k
0 votes
0 answers
185 views

phplint deactivated + phpcs deactivated

I'm trying to make SublimeLinter work on my Linux. On Sublime Text console I have this errors: SublimeLinter: WARNING: phplint deactivated, cannot locate 'phpl' SublimeLinter: WARNING: phpcs ...
Shoio Schoenardie's user avatar
0 votes
0 answers
292 views

Use IDE linter without install PHP (or Nodejs, ...) in Sublime Text, VS Code

My development use docker to build project, so I don't want to install any package on my host machine. But when use IDE linter tool like Sublime Text or VS Code, all of linters need to specify the ...
Phuc Nguyen's user avatar
9 votes
2 answers
2k views

How do I fix linting error on jsx closing tags : "unclosed regular expression"?

(PS none of these SO questions (with inaccurate titles) solved, or addressed, this issue: React Linting: Unclosed Regular Expression, unclosed regular expression, React JSX error : Unclosed regular ...
SherylHohman's user avatar
  • 17.6k
1 vote
2 answers
1k views

Sublime - ignore pep257 D100 warning?

I was searching for how to ignore specific warnings, but can't find exactly how to disable it. I tried this (in SublimeLinter settings): "flake8": { "@disable": false, ...
Andrius's user avatar
  • 20.9k
0 votes
1 answer
663 views

sublime text3 jshint error "Incompatible values for 'undefined' and 'undefined' linting options." when using IIFE expression

OS: macOS Sierra 10.12.5 . Sublime Text: Build 3126 . jshint v2.9.5 . eslint v4.4.0 . I have installed below packages for linting the js file sublimeLinter-contrib-eslint sublimeLinter-...
xkeshav's user avatar
  • 53.8k
1 vote
2 answers
721 views

How can I add Gradle managed dependencies to my classpath using SublimeLinter-javac?

I'm trying to set up linting for my Java project. I'm using Sublime Text 3 to code and using Gradle to build from the command line. My problem is I cannot find a way to add dependencies from Gradle to ...
Datz's user avatar
  • 69
4 votes
0 answers
455 views

Not getting any output from SublimeLinter-eslint in SublimeText 3 Console

So I've Followed the SublimeLinter-eslint installation and troubleshooting guides, however I'm still stuck on "There are no errors in console, but plugin does nothing." I'm using: node v8.1.3 ...
Eric Norcross's user avatar
2 votes
1 answer
1k views

Using Sublime Text on Windows and eslint on windows linux subsystem

I have node, npm and eslint instaled on WSL. Can't setup Sublimelinter in Sublime Text 3 in Windows to hook up with eslint installed via bash in WSL. Which path's i should enter in linter settings in ...
Gleb Andreev's user avatar

1
2 3 4 5