Skip to content
Snippets Groups Projects
  • Jed Fox's avatar
    e660e1e7
    More import-related ESLint rules (#1070) · e660e1e7
    Jed Fox authored
    - Enforce that imports from the same package are merged into a single
    import
    - In `loot-core`, require that imports of other `loot-core` files use a
    relative import (like the vast majority of such imports) rather than
    specifiers starting with `loot-core/` (probably a result of moving files
    out of other packages into `loot-core`)
    More import-related ESLint rules (#1070)
    Jed Fox authored
    - Enforce that imports from the same package are merged into a single
    import
    - In `loot-core`, require that imports of other `loot-core` files use a
    relative import (like the vast majority of such imports) rather than
    specifiers starting with `loot-core/` (probably a result of moving files
    out of other packages into `loot-core`)
1070.md 116 B
category: Maintenance
authors: [j-f1]

Add a few more eslint-plugin-import rules to keep our imports tidy