switch order of jsx/flow plugins to avoid precedence issues - fixes babel/babel-eslint#103
This commit is contained in:
parent
e9eced846f
commit
65f39bbf6f
@ -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 = {};
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user