Skip to content

Rule Proposal: Disallow style in Single File components #927

Closed
@leipert

Description

@leipert

Please describe what the rule should do:
Some projects might have different CSS pipelines, and don't want to utilize <style> in single file components. A rule like e.g. no-style one could forbid it for their project.

What category should the rule belong to?

  • Enforces code style
  • Warns about a potential error
  • Suggests an alternate way of doing something
  • Other (please specify:)

Provide 2-3 code examples that this rule should warn about:

<style>
/* Example */
</style>

Additional context

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