tomkis/js-autoimport

Auto import adds an extra space after the name and before from.

Opened this issue · 2 comments

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

tungv commented

#11 should fix this