MDL-77559 js: Revert "MDL-75012 js: Bump stylelint and components"

This reverts commit 2cfb12db0e.
This commit is contained in:
Andrew Nicols
2023-03-09 08:21:07 +08:00
parent 6be0f7be06
commit dc1d2cbc73
8 changed files with 3313 additions and 657 deletions
+4 -16
View File
@@ -1,14 +1,9 @@
{
"customSyntax": "postcss-scss",
"plugins": [
"stylelint-csstree-validator"
],
"rules": {
"csstree/validator": {
"syntaxExtensions": [
"sass"
]
},
"csstree/validator": true,
"at-rule-empty-line-before": [ "always",
{"except": [ "blockless-after-blockless"], ignore: ["after-comment", "inside-block"]}
],
@@ -50,7 +45,7 @@
"function-name-case": "lower",
"function-parentheses-newline-inside": "always-multi-line",
"function-parentheses-space-inside": "never-single-line",
"function-url-scheme-disallowed-list": ["data"],
"function-url-scheme-blacklist": ["data"],
"function-whitespace-after": "always",
"indentation": 4,
"keyframe-declaration-no-important": true,
@@ -89,19 +84,12 @@
"selector-type-no-unknown": true,
"string-no-newline": true,
"time-min-milliseconds": 100,
"unit-disallowed-list": ["pt"],
"unit-blacklist": ["pt"],
"unit-case": "lower",
"unit-no-unknown": true,
"value-keyword-case": ["lower", {"ignoreKeywords": ["/(@|$)/"]}],
"value-list-comma-newline-after": "always-multi-line",
"value-list-comma-space-after": "always-single-line",
"value-list-comma-space-before": "never",
},
"overrides": [
{
"files": ["**/yui/**/*.css"],
"rules": {
}
}
]
}
}
+1 -3
View File
@@ -80,9 +80,7 @@ const registerStyleLintTasks = (grunt, files, fullRunDir) => {
return {
stylelint: {
scss: {
options: {
customSyntax: 'postcss-scss',
},
options: {syntax: 'scss'},
src: files,
},
},
@@ -1,4 +1,4 @@
/* stylelint-disable unit-disallowed-list */
/* stylelint-disable unit-blacklist */
/**************************************
Structure of the other user role assignment panel
+3297 -627
View File
File diff suppressed because it is too large Load Diff
+4 -4
View File
@@ -27,15 +27,15 @@
"grunt-eslint": "24.0.0",
"grunt-rollup": "^11.9.0",
"grunt-sass": "3.1.0",
"grunt-stylelint": "^0.18.0",
"grunt-stylelint": "0.15.0",
"jshint": "^2.13.6",
"node-sass": "^7.0.1",
"postcss-scss": "^4.0.6",
"rollup-plugin-terser": "^7.0.2",
"semver": "^7.3.8",
"shifter": "https://github.com/andrewnicols/shifter/archive/v1.2.0_moodle-0.tar.gz",
"stylelint": "^14.16.1",
"stylelint-csstree-validator": "^2.1.0",
"stylelint": "13.3.3",
"stylelint-checkstyle-formatter": "0.1.2",
"stylelint-csstree-validator": "1.8.0",
"xmldom": "^0.6.0",
"xpath": "^0.0.32"
},
+2 -2
View File
@@ -4,11 +4,11 @@ $font-size-root: $font-size-base;
$zindex-navbar-fixed: 1030 !default;
$tag-padding-y: .25rem !default;
/* stylelint-disable function-url-scheme-disallowed-list */
/* stylelint-disable function-url-scheme-blacklist */
$form-icon-success: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%235cb85c' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3E%3C/svg%3E") !default;
$form-icon-warning: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23f0ad4e' d='M4.4 5.324h-.8v-2.46h.8zm0 1.42h-.8V5.89h.8zM3.76.63L.04 7.075c-.115.2.016.425.26.426h7.397c.242 0 .372-.226.258-.426C6.726 4.924 5.47 2.79 4.253.63c-.113-.174-.39-.174-.494 0z'/%3E%3C/svg%3E") !default;
$form-icon-danger: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23d9534f' viewBox='-2 -2 7 7'%3E%3Cpath stroke='%23d9534f' d='M0 0l3 3m0-3L0 3'/%3E%3Ccircle r='.5'/%3E%3Ccircle cx='3' r='.5'/%3E%3Ccircle cy='3' r='.5'/%3E%3Ccircle cx='3' cy='3' r='.5'/%3E%3C/svg%3E") !default;
/* stylelint-enable function-url-scheme-disallowed-list */
/* stylelint-enable function-url-scheme-blacklist */
$input-bg-disabled: $input-disabled-bg;
$table-sm-cell-padding: $table-cell-padding-sm;
+2 -2
View File
@@ -9378,8 +9378,8 @@ a.text-dark:hover, a.text-dark:focus {
color: inherit;
border-color: #dee2e6; } }
/* stylelint-disable function-url-scheme-disallowed-list */
/* stylelint-enable function-url-scheme-disallowed-list */
/* stylelint-disable function-url-scheme-blacklist */
/* stylelint-enable function-url-scheme-blacklist */
.tag {
display: inline-block;
padding: 0.25rem 0.4em;
+2 -2
View File
@@ -9581,8 +9581,8 @@ a.text-dark:hover, a.text-dark:focus {
color: inherit;
border-color: #dee2e6; } }
/* stylelint-disable function-url-scheme-disallowed-list */
/* stylelint-enable function-url-scheme-disallowed-list */
/* stylelint-disable function-url-scheme-blacklist */
/* stylelint-enable function-url-scheme-blacklist */
.tag {
display: inline-block;
padding: 0.25rem 0.4em;