Closed ntraut closed 8 months ago
Sorting import can require a lot of manual work. For example in
import a from 'baz.js'; import {b} from 'qux.js';
changing to
import a from 'baz.js'; import {b, c} from 'qux.js';
will create an error as multiple imports have to be placed before single imports.
I think we should switch the rules to the ones provided by eslint-plugin-import or eslint-plugin-simple-import-sort which have auto fix, or turn of the rules sort-imports, sort-keys and sort-vars.
sort-imports
sort-keys
sort-vars
Sorting import can require a lot of manual work. For example in
changing to
will create an error as multiple imports have to be placed before single imports.
I think we should switch the rules to the ones provided by eslint-plugin-import or eslint-plugin-simple-import-sort which have auto fix, or turn of the rules
sort-imports
,sort-keys
andsort-vars
.