Reader small image

You're reading from  Mastering Sublime Text

Product typeBook
Published inDec 2013
PublisherPackt
ISBN-139781849698429
Edition1st Edition
Right arrow
Author (1)
Dan Peleg
Dan Peleg
author image
Dan Peleg

Dan Peleg is an accomplished software engineer. As a former developer in the Israeli Intelligence Force, he holds extensive experience in both defense and robotic industries, and has previously lectured at DefCon conventions. Dan has developed unique algorithms for robotic platforms, specializes in a variety of software platforms, and currently works as the CTO for an American startup company.
Read more about Dan Peleg

Right arrow

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 cppcheck

  • CoffeeScript: This lints via coffee –s –l

  • CSS: This lints via built-in csslint

  • Haml: This checks syntax via haml –c

  • HTML: This lints via tidy

  • Java: This lints via javac –Xlint

  • JavaScript: This lints via built in jshint, jslint, or gjslint (if installed)

  • Lua: This checks syntax via luac

  • Objective-J: This lints via built in capp_lint

  • Perl: This lints via Perl::Critic or syntax and deprecation check via perl-c

  • PHP: This checks syntax via php –l

  • Puppet: This checks syntax via puppet parser validate

  • Python: This is a native, moderately-complete lint

  • Ruby: This checks syntax via ruby –wc

  • XML: This lints via xmllint

Installing SublimeLinter

We can install this plugin by using the Package Control that we installed earlier. Let's...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Mastering Sublime Text
Published in: Dec 2013Publisher: PacktISBN-13: 9781849698429

Author (1)

author image
Dan Peleg

Dan Peleg is an accomplished software engineer. As a former developer in the Israeli Intelligence Force, he holds extensive experience in both defense and robotic industries, and has previously lectured at DefCon conventions. Dan has developed unique algorithms for robotic platforms, specializes in a variety of software platforms, and currently works as the CTO for an American startup company.
Read more about Dan Peleg