just throw an error right now instead of it silently working but with bugs
This commit is contained in:
parent
d75bd7b82c
commit
7fbf6111e3
@ -45,7 +45,9 @@ function monkeypatch() {
|
||||
try {
|
||||
var esrecurseLoc = Module._resolveFilename("esrecurse", eslintMod);
|
||||
estraverseRelative = createModule(esrecurseLoc);
|
||||
} catch (err) {}
|
||||
} catch (err) {
|
||||
throw new Error("babel-eslint isn't currently compatible with ESLint 2.3.x. The recommendation is to pin to ESLint 2.2.x right now.");
|
||||
}
|
||||
|
||||
// contains all the instances of estraverse so we can modify them if necessary
|
||||
var estraverses = [];
|
||||
|
||||
@ -33,7 +33,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/babel/babel-eslint",
|
||||
"devDependencies": {
|
||||
"eslint": "^2.3.0",
|
||||
"eslint": "~2.2.0",
|
||||
"espree": "^3.0.0",
|
||||
"mocha": "^2.3.3"
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user