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

Major: remove parseNoPatch #733

Merged
merged 1 commit into from
Jan 7, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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", {})
);
});
});