@amplitude/eslint-plugin-amplitude

1.1.1 • Public • Published

Amplitude ESLint Plugin

amplitude/sort-imports

Rule to enforce Amplitude import sort style.

Imports should be grouped into sections:

  1. module imports (determined by comparing with dependencies and devDependencies field entries in package.json)
  2. module type imports
  3. package imports
  4. package type imports
  5. 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.

Readme

Keywords

none

Package Sidebar

Install

npm i @amplitude/eslint-plugin-amplitude

Weekly Downloads

19,637

Version

1.1.1

License

none

Unpacked Size

9.38 kB

Total Files

5

Last publish

Collaborators

  • kwallachamp
  • alec.amplitude
  • amplicynthia
  • mae.capozzi
  • sdk.dev
  • dnshi
  • kevinpagtakhan
  • justin-fiedler
  • qingzhuo
  • rctbusk
  • jackmccloy
  • amp_haoliu
  • myztiq
  • curtisbliu
  • jtran
  • kelvin-lu
  • nutwani
  • hao.yu
  • kelson.warner
  • ajhorst_amp
  • brian.giori