Skip to content

Initial Release: v1.0.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@hzoo hzoo released this 10 Jun 04:17
· 37 commits to master since this 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