@amplitude/eslint-plugin-amplitude

    1.0.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.

    Keywords

    none

    Install

    npm i @amplitude/eslint-plugin-amplitude

    DownloadsWeekly Downloads

    1,348

    Version

    1.0.1

    License

    none

    Unpacked Size

    7.51 kB

    Total Files

    4

    Last publish

    Collaborators

    • kevinpagtakhan
    • mae.capozzi
    • justin-fiedler
    • qingzhuo
    • rctbusk
    • manthursday
    • jackmccloy
    • amp_haoliu
    • myztiq
    • curtisbliu
    • jtran
    • kelvin-lu
    • nutwani
    • hao.yu
    • kelson.warner
    • ajhorst_amp
    • brian.giori