format-code: resolve symlinks in linter arguments

The latest version of prettier does not like being passed symbolic
links as arguments and refuses to follow the symlink.  Add a call to
`realpath` when we find all the lint-able files in order to resolve
the symlinks.

Tested:

The following error goes away:
```
[error] Explicitly specified pattern ".prettierrc.yaml" is a symbolic link.
[error] Explicitly specified pattern ".markdownlint.yaml" is a symbolic link.
```

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I18bac3e86253601140f034dc1b11f178443b6ed9
diff --git a/scripts/format-code.sh b/scripts/format-code.sh
index fe731e2..847084d 100755
--- a/scripts/format-code.sh
+++ b/scripts/format-code.sh
@@ -335,7 +335,7 @@
 while read -r file; do
     ftype="$(get_file_type "$file")"
     FILES+=([$ftype]="$(echo -ne "$file;${FILES[$ftype]:-}")")
-done < <(git ls-files | "${GLOBAL_IGNORE[@]}")
+done < <(git ls-files | xargs realpath --relative-base=. | "${GLOBAL_IGNORE[@]}")
 
 # For each linter, check if there are an applicable files and if it can
 # be enabled.