forked from SublimeLinter/SublimeLinter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
create_linter_info.json
28 lines (25 loc) · 1.31 KB
/
create_linter_info.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
"javascript": {
"platform": "[Node.js](http://nodejs.org) (and [npm](https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager) on Linux)",
"installer": "npm install -g {}",
"extra_steps": "1. If you are using `nvm` and `zsh`, ensure that the line to load `nvm` is in `.zshenv` and not `.zshrc`.\n\n1. If you are using `zsh` and `oh-my-zsh`, do not load the `nvm` plugin for `oh-my-zsh`.",
"superclass": "NodeLinter",
"comment_re": "r'\\s*/[/*]'"
},
"python": {
"platform": "[Python](http://python.org/download/) and [pip](http://www.pip-installer.org/en/latest/installing.html)",
"installer": "[sudo] pip install {}",
"superclass": "PythonLinter",
"attributes": ["module = '{}'", "check_version = False"]
},
"ruby": {
"platform": "[Ruby](http://www.ruby-lang.org)",
"installer": "[sudo] gem install {}",
"extra_steps": "1. If you are using `rbenv` or `rvm`, ensure that they are loaded in your shell’s correct startup file. See [here](http://sublimelinter.readthedocs.org/en/latest/troubleshooting.html#shell-startup-files) for more information.",
"superclass": "RubyLinter",
"comment_re": "r'\\s*#'"
},
"other": {
"installer": "<package manager> install {}"
}
}