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
2
votes
1 answer

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: WARNING: Value for scheme.headers does not…
2
votes
1 answer

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 restarted but the console shows the following…
2
votes
2 answers

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 "eslint-plugin-chai-expect" was not found when…
idan stark
  • 61
  • 1
  • 6
2
votes
1 answer

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 unused However, when I use SublimeLinter-flake8 to…
Mark Amery
  • 143,130
  • 81
  • 406
  • 459
2
votes
2 answers

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
  • 41
  • 5
2
votes
1 answer

SublimeLinter-jshint: Errors when script in tags

I seem to be having a problem with SublimeLinter-jshint and I couldn't find what I was looking for in the JSLint docs. At first, I thought it was a problem specifically with "Missing semicolon" (after an opening curly brace) but as I tried to ignore…
apgsov
  • 794
  • 1
  • 8
  • 30
2
votes
2 answers

sublimeLinter "Error trying to parse file: Expected value in Packages/User/Default (OSX).sublime-keymap:2:1"

Error: "Error trying to parse file: Expected value in Packages/User/Default (OSX).sublime-keymap:2:1" Hello, I have googled this and only found old documentation posts and answers for this problem that was on ST2 but not 3 and was posted in 2013. I…
Bao Cong Pham
  • 31
  • 1
  • 8
2
votes
1 answer

Configure the behaviour of R linters in Sublime 3

I am using lintr in Sublime 3 via SublimeLinter 3 and the SublimeLinter-contrib-lintr plugin. On the lintr README.md file there is a short mention on how to configure what linters should be used: { "user": { "linters": { "r": { …
Mihai
  • 2,807
  • 4
  • 28
  • 53
2
votes
1 answer

Sublime Text 3 Typescript Tab Indentation and Single Quote Not Allowed

Hi I am using sublime 3 to build a node.js server in typescript language. The editor always gives me two errors making no sense. One is that it asks me to use double quote instead of single quote. The other one is that it only allows double space as…
zhangjinzhou
  • 2,461
  • 5
  • 21
  • 46
2
votes
1 answer

SublimeLinter: WARNING: phpcs deactivated, cannot locate 'phpcs'

I've got a path problem. I am trying to setup SublimeText3 and WordPress Coding Standards. I'm working width XAMPP on a Mac. My phpcs file is located in /Applications/XAMPP/xamppfiles/PHP_CodeSniffer/scripts/ In the SublimeLinter user settings I put…
user3684098
  • 349
  • 1
  • 3
  • 18
2
votes
0 answers

sublime text - sublimeLinter - configure rules

I want to configure sublimeLinter with global linting rules (ESLINT), so all my javascript files will be linted using those rules. I already have ESLINT configured and working (in my GULP file): "rules": { "no-mixed-spaces-and-tabs" : [2,…
vsync
  • 118,978
  • 58
  • 307
  • 400
2
votes
1 answer

How to highlight/detect unique word in Sublimetext 2

I found a plugin (sublimelinter) for this task but it is for specific languages. Do you know a way to highlight/detect unique word in Sublime Text for all programming languages ? To be clear I'm looking for a way to detect unused variable via a…
Malick
  • 6,252
  • 2
  • 46
  • 59
2
votes
1 answer

How to ignore specific rules in Sublime Linter SCSS (Sass)?

I'm trying to learn how to silence a rule in SublimeLinter-scss-lint (specifically EmptyLineBetweenBlocks). For SublimeLinter-csslint, I can run scss-lint --list-rules in Terminal, locate the rule I don't like in the output, and add it to the…
2540625
  • 11,022
  • 8
  • 52
  • 58
2
votes
0 answers

how to use different linters in different projects in sublime text 3

I have startet using a different linter (standard) in a new project. Also: No semicolons, indentation by 2 spaces and more. Other projects still use jshint. And a different style: with semicolons, indentation by 4 spaces and more. When I open an old…
Alex
  • 2,117
  • 5
  • 28
  • 36
2
votes
0 answers

Use lintr() in Sublime Text 3 via SublimeLinter on Knitr Chunks

I'm trying to get SublimeLinter to lint the R chunks in my *.Rnw and *.Rmd documents via lintr which has recently added support for knitr. Lintr linting of *.R works fine, but not of knitr chunks in *.Rnw or .Rmd. Lacking feature or am I missing a…
maxheld
  • 3,963
  • 2
  • 32
  • 51