Skip to content

Releases: jscs-dev/babel-jscs

v2.0.0

08 Jul 13:08
Compare
Choose a tag to compare
v2.0.0 Pre-release
Pre-release

validateQuoteMarks issue #1 was fixed in 1.0.3

  • Remove monkeypatch of estraverse which was causing weird issues with unit tests in jscs, so that function was moved to jscs itself.

To Use:
You will need to run babel-jscs with jscs master (specifically jscs-dev/node-jscs@4d70439), or wait for the next release of jscs (either 1.14.0 or maybe 2.0.0)

Again that means either update your package.json

// package.json
{
  "jscs": "jscs-dev/node-jscs#master",
  "jscs": "^2.0.0" // whenever the next release is
}

or run npm i jscs-dev/node-jscs --save-dev

Initial Release: v1.0.1

10 Jun 04:17
Compare
Choose a tag to compare
Pre-release

This is mostly a port of https://github.com/babel/babel-eslint (thanks @sebmck). I just removed some unnecessary code related to scoping needed for ESLint and did a changes.

So this is something to use in the esprima option for JSCS (in place of esprima-fb if you're using that already).

// .jscsrc
{
  "esprima": "babel-jscs", // global npm install
  "esprima": "./node_modules/babel-jscs", // local npm install
}

As noted in the README...

Known Issues

Only works on JSCS master right now
You will need to change package.json to use the master branch until the next jscs release is out (1.14.0)

// package.json
{
  "jscs": "jscs-dev/node-jscs#master",
  "jscs": "^1.14.0" // whenever the next release is
}

#1 validateQuoteMarks rule isn't working
#2 Need to run against JSCS tests