Skip to content

Whitespace inside attribute #310

Closed
Closed

Description

@AbdealiLoKo

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Many times, people add unnecessary whitespaces inside some attributes. For example class=" col-md-2" and sometimes double space between values in the class attribute class="col-md-2 col-offset-2
Would be nice to give a warning in such cases

Describe the solution you'd like
Would be good to have a rule for "No leading/training spaces in attribute" and maybe another one specifically for class attribute to handle that all values should be separated by a single space

Describe alternatives you've considered
NA

Activity

  1. added
    feature request
    on Jan 10, 2019
  2. self-assigned this
    on Feb 23, 2019
  3. tom-spalding commented on May 3, 2020

    @tom-spalding

    @AbdealiJK I think this was implemented in #322.

  4. added a commit that references this issue on May 13, 2020
  5. stale commented on Jul 2, 2020

    @stale

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

  6. added
    bot:stale
    on Jul 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

PR neededbot:stalefeature request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions