Questions tagged [sublimelinter]

SublimeLinter is a plugin for the Sublime Text editor, which integrates a variety of existing linting tools. Full documentation is available at sublimelinter.com.

SublimeLinter is a plugin for the Sublime Text editor, which integrates a variety of existing linting tools. It has been completely rewritten for Sublime Text 3 into a more modular architecture, and to take advantage of the expanded API. Linters are no longer included in SublimeLinter3; instead they must be installed separately through Package Control along with the base SublimeLinter package.

The Sublime Text 2 version of the plugin is no longer being supported, but the final release is still available for installation. The documentation is available here.

204 questions
7
votes
1 answer

How can I set the pep8 linter to accept 2 space indents?

The pep8 default states indents should be multiples of 4. What argument can I pass to a pep8 config file so indents with a multiple of 2 are accepted?
Dan O'Boyle
  • 3,676
  • 5
  • 28
  • 44
7
votes
1 answer

I do not know how to get sublimelinter-html-tidy to work

I have sublime text 3, but after I installed sublimelinter-html-tidy through the 'Package Control: Install Package', nothing changed. I also have Emmit, Bracket Highlighter, Side Bar, and a few others installed on my Sublime 3, and they all do what…
SpyrosKo
  • 167
  • 1
  • 11
7
votes
2 answers

SublimeLinter 3 Not Working

I've been having some problems with SublimeLinter3. I recently installed JSHint and Sublime Linter 3 with my package control, and when I manually use JSHint from the command palette it works fine. However, my SublimeLinter isn't doing anything.…
Saad
  • 49,729
  • 21
  • 73
  • 112
6
votes
1 answer

Sublime Text 2 / sublimeLinter: only Python is real-time background linted

I've already spent a few hour on this with not much progress. I'm running Sublime Text 2.0.2 with SublimeLinter v1.7 [1]. It real-time lints Python beautifully, but for many of the other languages I use day-to-day [Javascript, Ruby, CSS/SCSS, etc]…
LiavK
  • 702
  • 6
  • 20
6
votes
1 answer

How to setup SublimeLinter for mac

I've been trying to setup SublimeLinter (Mac) but something must be going wrong as the php lint simply doesn't work. I've installed and removed the package many times, tried to add/remove support for php following different tutorials I've found but…
WagnerMatosUK
  • 4,309
  • 7
  • 56
  • 95
5
votes
0 answers

SublimeText 3 Sublimelinter Pep257 only ignore D102 on __init__ methods?

OK, so I am finally annoyed enough to ask this question. I use Sublime Text 3 as my editor and I use Sublimelinter plugin with Pep8 and Pep257 with my python files. When building a class, it is my interpretation that it is acceptable to document…
Christopher Pearson
  • 1,113
  • 1
  • 10
  • 26
5
votes
1 answer

Sublime Text cppcheck "no lint errors"

I installed sublime linter, cppcheck for sublime linter and cppcheck binaries. I've set up cppcheck like the other linters (for php and javascript) but cppcheck is not working. In the command line it says SublimeLinter: cppcheck activated:…
mikesrike
  • 111
  • 3
5
votes
2 answers

How to enable JSHint in SublimeLinter in Linux Mint 17 Cinnamon?

Desired Behaviour Linting of .js files with Sublime Text 3. Actual Behaviour No linting is taking place. For example the following shows no errors: var x = "" Steps To Reproduce Environment Linux Mint 17 Cinnamon Sublime Text Build 3065 Tools…
user1063287
  • 10,265
  • 25
  • 122
  • 218
5
votes
0 answers

How to set up .sublimelinterrc to ignore pep8 errors

I'm using Sublime Text 3, and I'm trying to customize SublimeLinter-pep8 beyond the global (user preferences) level. I have a file that has a lot of tabs in it, so error W191 shows up a lot. As a test, I want to ignore this error. If I add an…
Anastasya Lundquist
  • 600
  • 1
  • 7
  • 21
5
votes
1 answer

What's the difference between sublimelinter-php and sublimelinter-phpcs?

From what I know, CodeSniffer follows a certain set of coding standards and checks your code if it follows the said standards. But sublimelinter-php does this too. Are they different or are they just the same? Because I installed both plugins on my…
Gannicus
  • 530
  • 1
  • 7
  • 26
5
votes
2 answers

Add custom path to Perl libraries for SublimeLinter

I'm using Sublime Text 2 editor for Perl development and now I faced next problem. I have my project under: /home/alex/workspace/ In this project I have libraries under: /home/alex/workspace/lib/ While I'm editing…
alexK
  • 963
  • 1
  • 7
  • 17
4
votes
0 answers

Sublime sublimelinter error - No such file or directory -- rubocop (LoadError)

i using oh-my-zsh, and i have installed gem - rubocop, also i added to sublime setting "paths": { "osx": [ "/Users/valerijtutaev/.rbenv/shims" ] }, but linter looking to wrong directory - /usr/bin/ruby how can i tell to looking…
4
votes
0 answers

SublimeLinter ESLint: Lint Whole Project/Directory Instead of Individual File

After an hour+ on Google, I can't believe I haven't found any answers or questions to this. I'm using the SublimeLinter-contrib-eslint package in Sublime Text 3. Is there a way to force SublimeLinter to lint a whole project instead of just one file?…
GreenRaccoon23
  • 3,603
  • 7
  • 32
  • 46
4
votes
1 answer

SublimeLinter (for sublime 3) background mode for cppcheck doesn't work

I'm trying to setup cppcheck for sublimelinter and I'm not sure why background check isn't working. The following works: "SublimeLinter: Next Error" => finds the next error ctrl, s => finds the errors I double checked and I definitely am in…
theamycode
  • 219
  • 3
  • 10
4
votes
0 answers

How to disable trailing space warning in sublimelinter

I am using SublimeLinter in sublime text 3. I want SublimeLinter to ignore trailing space warning as I've set "trim_trailing_white_space_on_save": true I dont like the red color warning while I am writing. It is distracting me. I tried this in…
1
2
3
13 14