diff options
author | innovaker <66737976+innovaker@users.noreply.github.com> | 2021-01-01 22:37:34 +0000 |
---|---|---|
committer | Pete Johanson <peter@peterjohanson.com> | 2021-01-06 17:00:44 -0500 |
commit | f17584ca0ee4d6bbc0893c0a62a0dc2fa293d2b8 (patch) | |
tree | 31f3d5d4b0fdc2f43cc4595f709ea216d0d06ea5 /docs/static | |
parent | 56ec200bae7610bae32c558cf1302b02d433471d (diff) |
chore: standardize # style headers
Changes made with regex plus some manual tweaks.
Find:
/(?:(?<!#!\/bin\/sh\n)(?:^#\n))*^#.*?[Cc]opyright.*?(\d{4}) *([0-9A-z,_\- ]+).*?\n(?:^#\n)*^#.*?SPDX-License-Identifier:? *(.+) *?\n(?:^#\n)*/gm
Replace:
# Copyright (c) $1 $2
# SPDX-License-Identifier: $3
PR: #564
Diffstat (limited to 'docs/static')
-rw-r--r-- | docs/static/setup.ps1 | 1 | ||||
-rw-r--r-- | docs/static/setup.sh | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/docs/static/setup.ps1 b/docs/static/setup.ps1 index 63cdb72..bcea9f7 100644 --- a/docs/static/setup.ps1 +++ b/docs/static/setup.ps1 @@ -1,5 +1,4 @@ # Copyright (c) 2020 The ZMK Contributors
-#
# SPDX-License-Identifier: MIT
$ErrorActionPreference = "Stop"
diff --git a/docs/static/setup.sh b/docs/static/setup.sh index 89fd1af..652160b 100644 --- a/docs/static/setup.sh +++ b/docs/static/setup.sh @@ -1,7 +1,6 @@ #!/bin/bash # Copyright (c) 2020 The ZMK Contributors -# # SPDX-License-Identifier: MIT set -e |