Linting with SublimeLinter
Linting is a term for flagging suspicious and non-portable constructs, likely to be bugs in any written language. SublimeLinter is a plugin that supports linting and has the following linters built in:
C/C++: This lints via
cppcheckCoffeeScript: This lints
via coffee –s –lCSS: This lints via built-in
csslintHaml: This checks syntax via
haml –cHTML: This lints via
tidyJava: This lints via
javac –XlintJavaScript: This lints via built in
jshint,jslint, orgjslint(if installed)Lua: This checks syntax via
luacObjective-J: This lints via built in
capp_lintPerl: This lints via
Perl::Criticor syntax and deprecation check viaperl-cPHP: This checks syntax via
php –lPuppet: This checks syntax via
puppet parser validatePython: This is a native, moderately-complete lint
Ruby: This checks syntax via
ruby –wcXML: This lints via
xmllint
Installing SublimeLinter
We can install this plugin by using the Package Control that we installed earlier. Let's...