Fixed #858: Allow 'break' and blocks in switch cases.

Closes #1161.

Signed-off-by: Anton Kovalyov <anton@kovalyov.net>
Fixed #1221: Add 'globals' to the valOptions list

Signed-off-by: Anton Kovalyov <anton@kovalyov.net>
Fixed #826, fixed #870: Add jshint ignore directive

Signed-off-by: Anton Kovalyov <anton@kovalyov.net>
Fixed #1277: Special treatment for 'new this()'

Signed-off-by: Anton Kovalyov <anton@kovalyov.net>
Fixed 1209: Make 'camelcase' ignore trailing underscores.

Signed-off-by: Anton Kovalyov <anton@kovalyov.net>
Version 2.2.0
No issue: new release dist files
Fixed #1253: Limit parseInt radix check to ES3 only.

Signed-off-by: Anton Kovalyov <anton@kovalyov.net>
Fixed #1305: Removed unused code from checkstyle.js

Signed-off-by: Anton Kovalyov <anton@kovalyov.net>
Fixed #1243: Detect comparisons with 'typeof x' and check the other operand.

Signed-off-by: Anton Kovalyov <anton@kovalyov.net>
Fixed #1293: Make latedef=nofunc ignore inner functions.

Signed-off-by: Anton Kovalyov <anton@kovalyov.net>
Fixed #1252: Add an option to warn about overwriting native objects.

Signed-off-by: Anton Kovalyov <anton@kovalyov.net>
Version 2.3.0; Las Vegas to San Francisco edition
Fixed #1334: fix a typo in the description of E027

Signed-off-by: Anton Kovalyov <anton@kovalyov.net>
Fixed #1335: Changed message for W057

Signed-off-by: Anton Kovalyov <anton@kovalyov.net>
No issue: minor refactoring
Fixed #1324: Make sure we're not mutating passed options object.
Issue #1339: Removed style conformance options.

Removed gcl, laxbreak, laxcomma, trailing, white, smarttabs.
No issue: get rid of big IIFE
Issue #1341: Moved options declarations into a separate file