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

Allow eslint to define the babylon plugins #523

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ exports.parseNoPatch = function(code, options) {
allowSuperOutsideMethod: true,
ranges: true,
tokens: true,
plugins: [
plugins: options.plugins || [
"flow",
"jsx",
"estree",
Expand Down