Open Jimgskoop opened 12 years ago
:+1:
:+1:
Assuming you're using SublimeText 2 as your editor with the package SublimeLinter package installed AND gjslint as your JavaScript linter of choice, you can set the following in SublimeLinter.sublime-settings
to suppress the Extra space after "(" & Extra space before ")" warnings:
gjslint_ignore":
[
1 // ignore extra space warning
]
This for me was the one thing causing frustration between using idiomatic.js as a style guide in conjunction with a tool such as gjslint/jslint/jshint
:+1: This would be pretty nice to have
I agree :+1:
For real-time enforcing, the ReSharper plug-in in Visual Studio does an excellent job. This is what I use in my day-to-day coding.
For more of a command-line solution or node library solution, Code Painter will fulfill your needs.
:+1:
:+1:
:+1:
:thumbsup:
What's what they invented https://github.com/jscs-dev/node-jscs for
Would love to see this documentation made available as config settings for JSLint/JSHint so these guidelines can actually be practically enforced.