Skip to content
This repository has been archived by the owner on Aug 18, 2021. It is now read-only.

Commit

Permalink
Major: remove parseNoPatch (#733)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaicataldo authored and existentialism committed Jan 7, 2019
1 parent 3f61a68 commit 58358c9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
4 changes: 0 additions & 4 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
};
9 changes: 0 additions & 9 deletions test/babel-eslint.js
Original file line number Diff line number Diff line change
Expand Up @@ -536,12 +536,3 @@ describe("babylon-to-espree", () => {
});
});
});

describe("Public API", () => {
it("exports a parseNoPatch function", () => {
assertImplementsAST(
espree.parse("foo"),
babelEslint.parseNoPatch("foo", {})
);
});
});

0 comments on commit 58358c9

Please sign in to comment.