Update Stylelint and Prettier for Drupal 10.1 and use Prettier for formatting PostCSS

Created on 23 February 2023, almost 2 years ago
Updated 4 May 2023, over 1 year ago

Problem/Motivation

Package                   Current Wanted  Latest
prettier                  2.8.0   2.8.8   2.8.8
stylelint                 14.16.0 14.16.1 15.6.0   
stylelint-config-standard 29.0.0  29.0.0  33.0.0   
stylelint-order           5.0.0   5.0.0   6.0.3  

Steps to reproduce

Proposed resolution

yarn add -D stylelint stylelint-config-standard stylelint-order
yarn upgrade prettier
yarn build:css
yarn lint:css
yarn prettier

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

📌 Task
Status

Fixed

Version

10.1

Component
Javascript 

Last updated 1 day ago

Created by

🇬🇧United Kingdom longwave UK

Live updates comments and jobs are added and updated live.
  • Needs frontend framework manager review

    Used to alert the fron-tend framework manager core committer(s) that a front-end focused issue significantly impacts (or has the potential to impact) multiple subsystems or represents a significant change or addition in architecture or public APIs, and their signoff is needed (see the governance policy for more information). If an issue significantly impacts only one subsystem, use Needs subsystem maintainer review instead, and make sure the issue component is set to the correct subsystem.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024