style: lint code

This commit is contained in:
Sun-ZhenXing
2026-02-23 17:41:05 +08:00
parent ced072de66
commit 7e14b01b78
240 changed files with 4301 additions and 1539 deletions

View File

@@ -4,7 +4,7 @@ x-defaults: &defaults
driver: json-file
options:
max-size: 100m
max-file: "3"
max-file: '3'
services:
dnsmasq:
@@ -13,8 +13,8 @@ services:
volumes:
- ./dnsmasq.conf:/etc/dnsmasq.conf:ro
ports:
- "${DNSMASQ_DNS_PORT_OVERRIDE:-53}:53/udp"
- "${DNSMASQ_DNS_PORT_OVERRIDE:-53}:53/tcp"
- '${DNSMASQ_DNS_PORT_OVERRIDE:-53}:53/udp'
- '${DNSMASQ_DNS_PORT_OVERRIDE:-53}:53/tcp'
environment:
- TZ=${TZ:-UTC}
cap_drop:
@@ -23,7 +23,7 @@ services:
- NET_ADMIN
- NET_BIND_SERVICE
healthcheck:
test: ["CMD", "nslookup", "-timeout=1", "localhost", "127.0.0.1"]
test: [CMD, nslookup, -timeout=1, localhost, 127.0.0.1]
interval: 30s
timeout: 10s
retries: 3