Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

import-sort-style-loom

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

import-sort-style-loom

A style for [import-sort](https://github.com/renke/import-sort) that is focused on modules.

  • 0.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
356
decreased by-32.7%
Maintainers
2
Weekly downloads
 
Created
Source

import-sort-style-loom

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

// Node modules
import fs from 'fs'

// Imported modules
import fsExtra from 'fs-extra';

// Resolved modules
import action from 'actions/something';
import constant from 'constants/something';
import creator from 'creators/something';
import middleware from 'middleware/something';
import reducer from 'reducers/something';
import utility from 'utilities/something';

// Absolute modules
import * as bar from 'bar';
import bar, * as baz from 'bar';
import bar from 'bar';
import bar, { baz } from 'bar';
import { bar } from 'bar';
import type { Bar, Baz } from 'bar';

// Relative modules
import * as bar from './bar';
import bar, * as baz from './bar';
import bar from './bar';
import bar, { baz } from './bar';
import { bar } from './bar';
import type { Bar, Baz } from './bar';
import * as bar from './../bar';
import bar, * as baz from './../bar';

// resolved components
import Foo from 'components/foo';

// Absolute modules with no members
import 'foo';

// Relative modules with no members
import './bar';

// css modules
import style from './styles.module.less'

FAQs

Package last updated on 21 Sep 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc