This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

import-sort-style-unsplash
TypeScript icon, indicating that this package has built-in type declarations

4.0.4 • Public • Published

import-sort-style-unsplash

A style for import-sort that is focused on modules.

// Absolute modules with side effects (not sorted because order may matter)
import "a";
import "c";
import "b";

// Relative modules with side effects (not sorted because order may matter)
import "./a";
import "./c";
import "./b";

// Modules from the Node.js "standard" library sorted by name
import {readFile, writeFile} from "fs";
import * as path from "path";

// Third-party modules sorted by name
import aa from "aa";
import bb from "bb";
import cc from "cc";

// Component modules sorted by name
import bar from "components/bar";
import foo from "components/foo";

// First-party modules sorted by "relative depth" and then by name
import aaa from "../../aaa";
import bbb from "../../bbb";
import aaaa from "../aaaa";
import bbbb from "../bbbb";
import aaaaa from "./aaaaa";
import bbbbb from "./bbbbb";

Readme

Keywords

none

Package Sidebar

Install

npm i import-sort-style-unsplash

Weekly Downloads

7

Version

4.0.4

License

ISC

Unpacked Size

18 kB

Total Files

5

Last publish

Collaborators

  • oliverjash
  • unsplash