Skip to content

Whitespace inside attribute #310

@AbdealiLoKo

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

Metadata

Metadata

Assignees

Labels

PR neededbot:staleIssue marked as stale because there was no activityfeature requestFunctionality that introduces a new feature

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions