Skip to content
This repository was archived by the owner on May 28, 2026. It is now read-only.

Commit 8f69041

Browse files
eslint: enforce yml/no-empty-mapping-value
Since empty value and `~` appear to both represent `null` in yaml. I have added `~` as a placeholder to satisfy the rule Bug: T421660
1 parent adf2f2a commit 8f69041

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

.eslintrc.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
},
1414
"rules": {
1515
"no-jquery/no-global-selector": "warn",
16-
"yml/no-empty-document": "warn",
17-
"yml/no-empty-mapping-value": "warn"
16+
"yml/no-empty-document": "warn"
1817
}
1918
}

config/packages/doctrine.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
doctrine:
22
dbal:
33
connections:
4-
default:
4+
default: ~

config/services.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ services:
6060
- { name: kernel.event_listener, event: kernel.exception }
6161

6262
# Vendor services for autowiring
63-
thiagoalessio\TesseractOCR\TesseractOCR:
63+
thiagoalessio\TesseractOCR\TesseractOCR: ~
6464

6565
# please note that last definitions always *replace* previous ones
6666
# add more service definitions when explicit configuration is needed

0 commit comments

Comments
 (0)