mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 12:32:08 +02:00
MDL-77559 js: Revert "MDL-75012 js: Bump stylelint and components"
This reverts commit 1c73373b3d2aa417d1aae0699f7e61e1b75d3a5d.
This commit is contained in:
parent
faea97bd56
commit
ab981109ef
@ -45,9 +45,7 @@ module.exports = grunt => {
|
||||
return {
|
||||
stylelint: {
|
||||
scss: {
|
||||
options: {
|
||||
customSyntax: 'postcss-scss',
|
||||
},
|
||||
options: {syntax: 'scss'},
|
||||
src: files,
|
||||
},
|
||||
},
|
||||
|
20
.stylelintrc
20
.stylelintrc
@ -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,4 +1,4 @@
|
||||
/* stylelint-disable unit-disallowed-list */
|
||||
/* stylelint-disable unit-blacklist */
|
||||
/**************************************
|
||||
|
||||
Structure of the other user role assignment panel
|
||||
|
3498
npm-shrinkwrap.json
generated
3498
npm-shrinkwrap.json
generated
File diff suppressed because it is too large
Load Diff
@ -30,7 +30,7 @@
|
||||
"grunt-jsdoc": "^2.4.1",
|
||||
"grunt-rollup": "^11.9.0",
|
||||
"grunt-sass": "3.1.0",
|
||||
"grunt-stylelint": "^0.18.0",
|
||||
"grunt-stylelint": "0.15.0",
|
||||
"hugo-bin": "^0.80.2",
|
||||
"hugo-lunr-indexer": "^1.1.3",
|
||||
"jsdoc": "^4.0.0",
|
||||
@ -39,12 +39,12 @@
|
||||
"jstoxml": "^3.2.3",
|
||||
"node-sass": "^7.0.1",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"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"
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user