WordPress-Coding-Standards / stylelint-config-wordpress

WordPress shareable config for stylelint Note: Migrating to Gutenberg repo:

Home Page:https://github.com/WordPress/gutenberg/pull/22777

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add `max-line-length` with value `80` and `"ignore": "non-comments"` option

ntwb opened this issue · comments

Via https://make.wordpress.org/core/handbook/best-practices/coding-standards/css/#commenting

Long comments should manually break the line length at 80 characters.

  "max-line-length": [ 80, {
    "ignore": "non-comments",
  } ],