Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion drupal-code-quality/assets/.eslintrc.jquery.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,3 @@
"no-jquery/no-wrap": 0
}
}

2 changes: 1 addition & 1 deletion drupal-code-quality/assets/.stylelintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@
"selector-id-pattern": "^[a-z][-_a-z0-9]*$",
"selector-no-vendor-prefix": null,
"shorthand-property-no-redundant-values": null,
"unit-allowed-list": ["ch", "deg", "dpcm", "em", "ex", "fr", "ms", "rem", "%", "s", "px", "vw", "vh", "cqw", "cqh", "cqi", "cqb", "cqmin", "cqmax"],
"unit-allowed-list": ["ch", "deg", "dpcm", "em", "ex", "fr", "ms", "rem", "%", "s", "px", "vw", "dvw", "svw", "lvw", "vh", "dvh", "svh", "lvh", "cqw", "cqh", "cqi", "cqb", "cqmin", "cqmax"],
"value-keyword-case": ["lower", {
"camelCaseSvgKeywords": true,
"ignoreProperties": [
Expand Down
6 changes: 6 additions & 0 deletions scripts/sync-upstream-configs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,12 @@ for entry in "${MANIFEST[@]}"; do
;;
esac

# Ensure trailing newline on transformed file (DDEV addon checker requires it,
# but some upstream files lack one)
if [[ -s "$transformed" ]] && [[ "$(tail -c 1 "$transformed" | wc -l)" -eq 0 ]]; then
echo "" >> "$transformed"
fi

# Strip DCQ header from local for comparison
if [[ ! -f "$local_file" ]]; then
printf "${RED}LOCAL FILE MISSING${RESET}\n"
Expand Down
Loading