ESLint plugin

The essential plugin for use with the Atlassian Design System.

no-separator-with-list-elements

No Separator with List Elements

This ESLint rule warns when the separator prop is used with as="li", as="ol", or as="dl" in the Inline component from @atlaskit/primitives.

Examples

Incorrect

<Inline as="li" separator="/">Content</Inline>
                ^^^^^^^^^^^^^ separator prop is used with `as="li"`, `as="ol"`, or `as="dl"` in the Inline component

Correct

<Inline as="li">Content</Inline>
Was this page helpful?
We use this feedback to improve our documentation.
  • Design system
    • Get started
    • Foundations
    • Components
    • Rovo UI
    • Tools
    • Release phases
    • Contact us
© 2026 AtlassianTrademark, (opens new window)Privacy, (opens new window)License