How to order imports with tslint’s import-ordering rule
I agree that it’s confusing. The problem is that the source string comparisons include the ../.. portions of the module names, so to appease the rule, you would need to sort them like this: import FetchStatus from ‘../../../../../state/generic/models/FetchStatus’; import Geofilter from ‘../../../../../state/geofilter/models/Geofilter’; import FlexRow from ‘../../../../generic/components/FlexRow’; import Input from ‘../../../../generic/components/Input’; import CopyLensModal from ‘./CopyLensModal’; The … Read more