13 Commits

Author SHA1 Message Date
Andrew Nicols
484da7c0e8
MDL-79003 js: Bump stylelint and components
Stylelint 15 deprecates a heap of rules which will be removed in 16.

We can't use 16 because it's ESM and requires a big restructure of our
build process.

We can temporarily silence the deprecations and then when we update our
build tooling we can make use of @stylistic/stylelint-plugin to add the
rules back.

This commit:
- bumps stylelint and related dependencies accordingly
- fixes issues identified with newer sniffs
- temporarily silences deprecation warnings
2024-01-30 12:19:53 +08:00
Andrew Nicols
ab981109ef MDL-77559 js: Revert "MDL-75012 js: Bump stylelint and components"
This reverts commit 1c73373b3d2aa417d1aae0699f7e61e1b75d3a5d.
2023-03-09 08:21:22 +08:00
Andrew Nicols
1c73373b3d MDL-75012 js: Bump stylelint and components 2023-02-28 10:19:50 +08:00
Dan Poltawski
0a023e5fc7 MDL-57945 stylelint: use csstree to replace some rules
Ironically we have to reverse the change from e63d89a5 because
this linter is more clever..
2017-07-19 14:29:56 +01:00
Dan Poltawski
09074c91d0 MDL-57945 stylelint: Upgrade 7.12.0
This stylelint is consolodating and focusing the project
so there are some rule deprecations without real alternatives yet.
2017-07-19 13:45:47 +01:00
Dan Poltawski
13e0d7f3e6 MDL-55165 stylelint: remove unset redundant properities rule
http://stylelint.io/user-guide/rules/shorthand-property-no-redundant-values/

Fred and I had discussed enabling this rule, but think it's better for
CSS newcomers to be disabled, so lets remove trace of it.
2016-09-29 16:39:30 +01:00
Frédéric Massart
f8ac90a753 MDL-56061 core: Permit usage of REM in CSS
Part of MDL-55071
2016-09-23 10:57:36 +01:00
Dan Poltawski
773e68b0f8 MDL-55071 stylelint: Config & grunt task for scss
Part of MDL-55071
2016-09-23 10:57:36 +01:00
Damyon Wiese
256edb99de MDL-55071 theme_boost: Fix stylelint issues
Part of MDL-55071
2016-09-23 10:57:13 +01:00
David Monllao
dacfc6f816 Merge branch 'MDL-55372-master' of git://github.com/danpoltawski/moodle 2016-08-30 16:38:18 +08:00
Dan Poltawski
6bb410c32e MDL-55372 stylelint: fully replace csslint
Remove the csslint config, remove an invalid property.

Kept csslint ignore lines becacase stylelint seems to respect them and
more work will be happening on css cleanup in MDL-55372.
2016-08-26 11:09:11 +01:00
Dan Poltawski
eb69520763 MDL-55452 stylelint: prevent use of !important
Don't try and fix existing issues, just prevent new ones landing..
2016-08-26 11:08:14 +01:00
Dan Poltawski
855fc5d853 MDL-55167 grunt: add stylelint css linting 2016-07-30 13:07:52 +01:00