Skip to content


Subversion checkout URL

You can clone with
Download ZIP
JavaScript Code Style checker

validateIndetation: reduce RegExp create count (optimization)

Originaly `validateIndetation` rule creates new RegExp for
every single line to check. PR fix it, rule creates one RegExp per file -
it's 100 times less on our code base.

Not sure, but probably it will be better add new private
property `_rNotIndentChar` and creates just one RegExp in `configure`.

Closes gh-1565
latest commit 0662d40734
@lahmatiy lahmatiy authored markelog committed

Build Status Coverage Status

Dependency Status devDependency Status Gitter

JSCS — JavaScript Code Style

JSCS is a code style linter for programmatically enforcing your style guide. You can configure JSCS for your project in detail using over 150 validation rules, including presets from popular style guides like jQuery, Airbnb, Google, and more.

More about JSCS

Who uses JSCS?

Something went wrong with that request. Please try again.