Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

import-sort-style-length

edriskus3ISC0.0.1TypeScript support: included

Line-length focused style for import-sort

readme

import-sort-style-length

Line-length focused style for import-sort.

Sorts imports in the following order, each group is sorted by line length, ascending:

import "foo";
import "../../foobar";

import Foo from "./bar";
import Bar from "foobar";

import { Foo } from "bar";
import { Foo, Bar } from "baz";

import * as Foo from "bar";