•  
      request #32287 Forbid duplicate modules in `import`
    Infos
    #32287
    Joris MASSON (jmasson)
    2023-06-07 11:47
    2023-06-06 15:46
    33877
    Details
    Forbid duplicate modules in `import`

    Importing multiple times the same module in JavaScript / TypeScript leads to poor readability. It's harder to know what is used from a given module if you have to read all imports. It can also sometimes mask an error.

    Thus, we should forbid duplicate imports.

    Dev tools
    Empty
    Empty
    • [ ] enhancement
    • [x] internal improvement
    Empty
    Stage
    Joris MASSON (jmasson)
    Closed
    2023-06-07
    Attachments
    Empty
    References

    Follow-ups