eslint-plugin-sort-imports-es6-autofix
eslint-plugin-sort-imports-es6-autofix copied to clipboard
Is there an option for making absolute imports go first?
I'd like to always have absolute imports first / relative imports last.
Ideally this
import config from '../config';
import fetch from 'isomorphic-fetch';
import url from 'url';
would look like
import fetch from 'isomorphic-fetch';
import url from 'url';
import config from '../config';
Any help would be appreciated.
Thank you.
Checkout the rule order from eslint-plugin-import for that.