switch order of jsx/flow plugins to avoid precedence issues - fixes babel/babel-eslint#103

This commit is contained in:
Sebastian McKenzie 2015-05-17 22:00:38 +01:00
parent e9eced846f
commit 65f39bbf6f

View File

@ -61,8 +61,8 @@ export function parse(code, opts = {}) {
opts.sourceType = "module"; opts.sourceType = "module";
opts.ecmaVersion = Infinity; opts.ecmaVersion = Infinity;
opts.plugins = { opts.plugins = {
flow: true, jsx: true,
jsx: true flow: true
}; };
opts.features = {}; opts.features = {};