Skip to content

📎 Port no-inline-styles from html-eslint #9062

@mcmxcdev

Description

@mcmxcdev

Description

The rule would disallow the use of inline styles, see https://html-eslint.org/docs/rules/no-inline-styles

In addition to the reasons listed under the URL above, inline styles are also problematic when wanting to set up a strict Content Security Policy.
See https://content-security-policy.com/examples/allow-inline-style for more info.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-LinterArea: linterL-HTMLLanguage: HTML and super languagesS-Good first issueStatus: Good for newcomers

    Type

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions