js-autoimport
js-autoimport copied to clipboard
Auto import adds an extra space after the name and before from.
e.g.
import React from 'react';
import Component from './Component.jsx';
export default React.createClass({
render() {
return <Component />
}
});
File Component.jsx
import React from 'react';
export default React.createClass({});
If you notice there is an extra space between React
and from
in the first line of import. This happens to all the imports.
happens only on no-named imports, very annoying
https://github.com/tomkis1/js-autoimport/pull/11 should fix this