Skip to content

Commit

Permalink
Revert babel as the default parser.
Browse files Browse the repository at this point in the history
This reverts commit df26467, reversing
changes made to 804d90f.

There are cases that cause the stack to blow up with Babel, apparently: eslint/eslint#3440

These issues seem to be fixed in eslint's master, but they're currently
in beta of a 2.0 release, so trying to merge in that with our changes
seems like a riskier change to make right now: we should wait until
they release 2.0 & take another look. For now, if you're using ES6, you
can opt into this config
  • Loading branch information
wfleming committed Jan 25, 2016
1 parent df26467 commit d934ebb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bin/eslint.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ var CLIEngine = require("eslint").CLIEngine;
var docs = require("eslint").docs;
var fs = require("fs");
var glob = require("glob");
var options = { extensions: [".js"], parser: "babel-eslint", ignore: true, reset: false, useEslintrc: true};
var options = { extensions: [".js"], ignore: true, reset: false, useEslintrc: true };
var cli = new CLIEngine(options);
var debug = false;
var checks = require("../lib/checks");
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
"url": "http://github.com/codeclimate/codeclimate-eslint.git"
},
"dependencies": {
"babel-eslint": "4.1.6",
"babel-eslint": "4.1.3",
"eslint": "codeclimate/eslint.git#d24d0b",
"eslint-config-airbnb": "^1.0.0",
"eslint-plugin-babel": "3.0.0",
"eslint-plugin-react": "3.15.0",
"eslint-plugin-babel": "2.1.1",
"eslint-plugin-react": "3.6.3",
"glob": "5.0.14"
},
"devDependencies": {
Expand Down

0 comments on commit d934ebb

Please sign in to comment.