Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to JSCS 2.0 #51

Merged
merged 1 commit into from
Aug 8, 2015
Merged

Upgrade to JSCS 2.0 #51

merged 1 commit into from
Aug 8, 2015

Conversation

brzpegasus
Copy link
Contributor

  • Upgrade to [email protected] for JSCS 2.0 support
  • Fix test example code for require-space-after-keywords rule:
    • The new parser requires wrapping the example return statement in a
      function.
  • Update the require-object-destructuring rule:
    • Remove the exception made to get and set as the
      issue has been
      resolved in the Esprima version that JSCS now uses.

Closes #49.

* Upgrade to `[email protected]` for JSCS 2.0 support
* Fix test example code for `require-space-after-keywords` rule:
  - The new parser requires wrapping the example `return` statement in a
    function.
* Update the `require-object-destructuring` rule:
  - Remove the exception made to `get` and `set` as the
    [issue](jscs-dev/node-jscs#1293) has been
resolved in the Esprima version that JSCS now uses.

Closes #49.
@HeroicEric
Copy link
Contributor

Remove the exception made to get and set as the issue has been resolved in the Esprima version that JSCS now uses.

Awesome! 🎉

@hzoo
Copy link

hzoo commented Aug 8, 2015

Should be releasing 2.1.0 next week - also esnext now uses babel-jscs (babel) http://jscs.info/overview.html#esnext instead of esprima - if you still want esprima you can just remove the esnext option which would use esprima 2.5.0

@brzpegasus
Copy link
Contributor Author

@hzoo Thanks for the clarification!

brzpegasus added a commit that referenced this pull request Aug 8, 2015
@brzpegasus brzpegasus merged commit 3ab6fbb into master Aug 8, 2015
@brzpegasus brzpegasus deleted the jscs-2.0 branch August 8, 2015 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants