Skip to content

no-inline-styles: Change the default value for allowTransitions to true #902

Closed
@marekdedic

Description

@marekdedic

The no-inline-styles rule has an option controlling whether it reports the use of transitions as well. This was largely due to the fact that the built-in Svelte 4 transitions used inline styles and thus using them wasn't "safe" in a no-inline-styles webpage.

With Svelte 5, transitions apparently no longer use inline styles. Thus, I'd like to change the default behaviour of the rule to allowing transitions (I think we can keep the option to disallow them for those who want it.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions