From 65f39bbf6fd2159b64bd05d913e28d78d54ae540 Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Sun, 17 May 2015 22:00:38 +0100 Subject: [PATCH] switch order of jsx/flow plugins to avoid precedence issues - fixes babel/babel-eslint#103 --- src/babel/api/node.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/babel/api/node.js b/src/babel/api/node.js index 17bba24090..1729910191 100644 --- a/src/babel/api/node.js +++ b/src/babel/api/node.js @@ -61,8 +61,8 @@ export function parse(code, opts = {}) { opts.sourceType = "module"; opts.ecmaVersion = Infinity; opts.plugins = { - flow: true, - jsx: true + jsx: true, + flow: true }; opts.features = {};