humanmade / humanmade/coding-standards

Stylelint max-line-length should this apply to comments?

Open
#249 1 comment 0 reactions 0 assignees View on GitHub
stylelint
Dominant language
PHP
Stars
160
Forks
17
PR merge metrics
No merged PRs in 30d

Description

The stylelint rule `max-line-length` is set to 100. But I have run into a case where this is longer. My specific situation is the comment at the top of the theme style.css file, for example the `description`. We can't break this line either as WP won't then pick up the full description.

We can change this rule to ignore comments, which would solve the problem. But also could lead to long comments elsewhere which is less desirable.

What do you think? Force short theme descriptions, ignore max line length for comments, perhaps I should be ignoring this file or maybe some other way?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.