Issue #3444587 by alexpott: Add CSS to prettier command and fix core/misc/jquery.form.js to be ignored
parent
3203676df8
commit
4596035039
|
@ -3,6 +3,7 @@ node_modules/**/*
|
|||
**/js_test_files/**/*
|
||||
**/build/**/*
|
||||
modules/locale/tests/locale_test.js
|
||||
misc/jquery.form.js
|
||||
|
||||
# Ignore deliberately malformed YAML files.
|
||||
modules/system/tests/fixtures/HtaccessTest/access_test.yml
|
||||
|
|
|
@ -2,8 +2,11 @@ assets/vendor/**/*
|
|||
node_modules/**/*
|
||||
**/build/**/*
|
||||
**/js_test_files/**/*
|
||||
**/css_test_files/**/*.css
|
||||
modules/locale/tests/locale_test.js
|
||||
*.yml
|
||||
themes/stable9/css/core/assets/vendor/**/*.css
|
||||
misc/jquery.form.js
|
||||
|
||||
# Temporary until they are brought up to standards
|
||||
scripts/**/*
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
*/
|
||||
/* global ActiveXObject */
|
||||
|
||||
/* eslint-disable */
|
||||
(function (factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD. Register as an anonymous module.
|
||||
|
|
|
@ -6,9 +6,10 @@
|
|||
*/
|
||||
/* This is a universal size that helps in the case of themes with a size of 10 pixels.
|
||||
We need it root to calculate the size of the displace in .dialog-off-canvas-main-canvas */
|
||||
/* prettier-ignore */
|
||||
:root {
|
||||
/* stylelint-disable-next-line prettier/prettier */
|
||||
--admin-toolbar-rem: max(1rem, 16px); /* Workaround until postcss-px-to-rem is removed so this is not converted to rems. */
|
||||
/* stylelint-disable-next-line */
|
||||
--admin-toolbar-rem: max(1rem, 16PX); /* Workaround until postcss-px-to-rem is removed so this is not converted to rems. */
|
||||
}
|
||||
[data-drupal-admin-styles] {
|
||||
/*
|
||||
|
|
|
@ -2,8 +2,9 @@
|
|||
|
||||
/* This is a universal size that helps in the case of themes with a size of 10 pixels.
|
||||
We need it root to calculate the size of the displace in .dialog-off-canvas-main-canvas */
|
||||
/* prettier-ignore */
|
||||
:root {
|
||||
/* stylelint-disable-next-line prettier/prettier */
|
||||
/* stylelint-disable-next-line */
|
||||
--admin-toolbar-rem: max(1rem, 16PX); /* Workaround until postcss-px-to-rem is removed so this is not converted to rems. */
|
||||
}
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
"lint:css-checkstyle": "stylelint \"**/*.css\" --custom-formatter ./node_modules/stylelint-checkstyle-formatter/index.js",
|
||||
"lint:yaml": "node ./node_modules/eslint/bin/eslint.js --ext .yml .",
|
||||
"test:nightwatch": "node -r dotenv-safe/config ./node_modules/.bin/nightwatch --config ./tests/Drupal/Nightwatch/nightwatch.conf.js",
|
||||
"prettier": "prettier --write \"./**/*.js\"",
|
||||
"prettier": "prettier --write \"./**/*.css\" \"./**/*.js\"",
|
||||
"spellcheck": "cspell -c .cspell.json --cache",
|
||||
"spellcheck:make-dict": "rm -f misc/cspell/dictionary.txt && touch misc/cspell/dictionary.txt && yarn spellcheck:core --unique --words-only | perl -Mopen=locale -pe '$_=lc$_' | LC_ALL=en_US.UTF-8 tr -d \\\\\\\\ | LC_ALL=C sort -u -o misc/cspell/dictionary.txt",
|
||||
"spellcheck:core": "cspell -c .cspell.json --root .. --cache --cache-location core/.cspellcache \"core/**/*\" \"composer/**/*\" \"composer.json\" \".gitlab-ci/*\" \".gitlab-ci.yml\"",
|
||||
|
|
Loading…
Reference in New Issue