Skip to content
This repository has been archived by the owner on Mar 23, 2024. It is now read-only.

Commit

Permalink
Prepare for version 1.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mdevils committed Jan 10, 2014
1 parent 9611c8f commit 0cd2441
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
13 changes: 8 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
Versuin 1.2.2:
* Fixed case with number for `requireDotNotation` rule (@andrewblond).

Version 1.2.1:
* Fix in error message for rule `maximumLineLength` (@pdehaan).

Expand Down Expand Up @@ -100,8 +103,8 @@ Version 0.0.8:
* Option `disallowQuotedKeysInObjects`.

Version 0.0.7:
* Option 'requireSpacesInsideObjectBrackets'.
* Option 'disallowSpacesInsideObjectBrackets'.
* Option `requireSpacesInsideObjectBrackets`.
* Option `disallowSpacesInsideObjectBrackets`.

Version 0.0.6:
* Fixes incorrent checkPath behavior.
Expand All @@ -111,11 +114,11 @@ Version 0.0.5:
* Error message format fixes.

Version 0.0.4:
* Option 'disallowYodaConditions'.
* Option 'requireMultipleVarDecl'.
* Option `disallowYodaConditions`.
* Option `requireMultipleVarDecl`.

Version 0.0.3:
* Option 'excludeFiles', which accepts patterns.
* Option `excludeFiles`, which accepts patterns.

Version 0.0.2:
* Link to parent nodes.
Expand Down
1 change: 1 addition & 0 deletions jscs-browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -1744,6 +1744,7 @@ module.exports.prototype = {
check: function(file, errors) {
file.iterateNodesByType('MemberExpression', function (node) {
if (node.computed && node.property.type === 'Literal' &&
typeof node.property.value !== 'number' &&
!tokenHelper.tokenIsReservedWord(node.property)
) {
errors.add(
Expand Down

0 comments on commit 0cd2441

Please sign in to comment.