Skip to:
Content

bbPress.org


Ignore:
Timestamp:
07/31/2024 10:51:04 PM (9 months ago)
Author:
johnjamesjacoby
Message:

Tools: update npm packages for Grunt tasks.

This change:

  • swaps in terser & @wordpress/stylelint-config
  • updates stylelint to 15.11.0 (with scss support)
  • adds separate stylelint config files for both CSS and SCSS (and deletes the original auto-loaded .stylelintrc file)

This is just enough to get Grunt unclogged and working again without complaining too much.


To make this work:

  • Recommend to install NVM to make using npm 18 easier
  • nvm use 18
  • npm install --legacy-peer-deps --save-dev

Once complete, the various grunt CLI commands should work again without any problems (for now!)

File:
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/.stylelint.scss.json

    r7280 r7283  
    11{
    2     "extends": "stylelint-config-wordpress/scss",
     2    "extends": [ "@wordpress/stylelint-config/scss" ],
    33    "rules": {
    44        "font-family-no-missing-generic-family-keyword": null,
    5         "no-descending-specificity": null
     5        "no-descending-specificity": null,
     6        "selector-id-pattern": null,
     7        "selector-class-pattern": null,
     8        "property-no-unknown": true,
     9        "scss/no-global-function-names": null
    610    }
    711}
Note: See TracChangeset for help on using the changeset viewer.