🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@amplitude/eslint-plugin-amplitude

Package Overview
Dependencies
Maintainers
20
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@amplitude/eslint-plugin-amplitude

## amplitude/sort-imports

1.1.1
latest
npm
Version published
Weekly downloads
11K
-36.98%
Maintainers
20
Weekly downloads
 
Created
Source

Amplitude ESLint Plugin

amplitude/sort-imports

Rule to enforce Amplitude import sort style.

Imports should be grouped into sections:

  • module imports (determined by comparing with dependencies and devDependencies field entries in package.json)
  • module type imports
  • package imports
  • package type imports
  • imports with extensions in the declaration source value (e.g. ".scss", ".svg")

Each section is sorted by the "source value" (the path/file/identifier of the module) and separated by an empty line.

FAQs

Package last updated on 13 Feb 2023

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