Major: remove parseNoPatch (babel/babel-eslint#733)
This commit is contained in:
parent
c209725ada
commit
bede064c0b
@ -13,7 +13,3 @@ exports.parseForESLint = function(code, options) {
|
||||
|
||||
return require("./parse-with-scope")(code, options);
|
||||
};
|
||||
|
||||
exports.parseNoPatch = function(code, options) {
|
||||
return require("./parse")(code, options);
|
||||
};
|
||||
|
||||
@ -536,12 +536,3 @@ describe("babylon-to-espree", () => {
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
describe("Public API", () => {
|
||||
it("exports a parseNoPatch function", () => {
|
||||
assertImplementsAST(
|
||||
espree.parse("foo"),
|
||||
babelEslint.parseNoPatch("foo", {})
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user