Browse Source

fix(tool): Fix cspell for Dart raw strings

Signed-off-by: jld3103 <jld3103yt@gmail.com>
pull/980/head
jld3103 1 year ago
parent
commit
925d8bf414
No known key found for this signature in database
GPG Key ID: 9062417B9E8EB7B3
  1. 3
      .cspell/nextcloud.txt
  2. 2
      tool/update-cspell-dictionaries.sh

3
.cspell/nextcloud.txt

@ -37,9 +37,6 @@ publicpreview
reshares
resharing
rgdnvw
r'sharebymail
r'updatenotification
r'uppush
shareapi
sharebymail
sharee

2
tool/update-cspell-dictionaries.sh

@ -4,5 +4,5 @@ cd "$(dirname "$0")/.."
for file in .cspell/*; do
rm "$file"
cspell lint --quiet --unique --words-only . | tr '[:upper:]' '[:lower:]' | sort -f | uniq > "$file" || true
cspell lint --quiet --unique --words-only . | tr '[:upper:]' '[:lower:]' | sed "s/^r'//" | sort -f | uniq > "$file" || true
done

Loading…
Cancel
Save