Update stylelint rule function-whitespace-after to be consistent with Drupal's CSS standards

Created on 4 April 2017, over 8 years ago
Updated 2 May 2023, about 2 years ago

Problem/Motivation

Follow-up to #2865971: Use stylelint as opposed to csslint in core โ†’ . Configure the function-whitespace-after to be consistent with https://www.drupal.org/docs/develop/standards/css/css-coding-standards โ†’

Proposed resolution

Brief instructions on running stylelint - you'll need npm...

All the commands below take place in DRUPAL_ROOT/core
To install stylelint

npm install

This will install Drupal 8's npm dependencies of which stylelint is one.

To run it on all core css files. Apply this issue's patch and do the following command from DRUPAL_ROOT/core

npm run lint:css

Remaining tasks

User interface changes

None

API changes

None

๐Ÿ“Œ Task
Status

Postponed

Version

10.1 โœจ

Component
CSSย  โ†’

Last updated 29 days ago

Created by

๐Ÿ‡ฌ๐Ÿ‡งUnited Kingdom alexpott ๐Ÿ‡ช๐Ÿ‡บ๐ŸŒ

Live updates comments and jobs are added and updated live.
  • CSS

    It involves the content or handling of Cascading Style Sheets.

  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024