superlint/lib/functions
George L. Yermulnik 417a58a62d
fix: skip symbolic links when passing files to prettier (#6620)
Skip symbolic links when passing files to Prettier

- Fix #6378
- [`lib/functions/detectFiles.sh`]: Add `IsNotSymbolicLink()` function
  to check whether provided file is symbolic link or not
- [`lib/functions/buildFileList.sh`]: Use `IsNotSymbolicLink()` function
  to not add files that are symbolic links to the file array for
  Prettier
- [`test/lib/detectFilesTest.sh`]: Add test for `IsNotSymbolicLink()`
  function
- Add `test/linters/prettier/test_symlink_good.md` file symlinked into parent
  dir's `README.md` to test it is skipped from Prettier (also exclude
  its directory from JSCPD to suppress error about cloned content)
2025-03-05 13:33:32 +00:00
..
buildFileList.sh fix: skip symbolic links when passing files to prettier (#6620) 2025-03-05 13:33:32 +00:00
detectFiles.sh fix: skip symbolic links when passing files to prettier (#6620) 2025-03-05 13:33:32 +00:00
githubDomain.sh feat: configure github server url (#5792) 2024-06-21 08:54:19 +02:00
githubEvent.sh fix: handle push tag events on merge commits (#6204) 2025-02-21 14:13:03 +01:00
linterCommands.sh feat: add env var for npm-groovy-lint failon level (#6530) 2025-03-04 21:13:33 +01:00
linterRules.sh fix!: remove undocumented secondary extension case (#5983) 2024-08-14 18:50:27 +02:00
log.sh fix: respect log level when writing to the log (#5546) 2024-04-20 09:18:14 +00:00
output.sh feat: optionally remove color codes from output (#6095) 2024-08-31 19:50:00 +02:00
possum.sh break out: (#990) 2020-11-12 11:27:34 -06:00
setupSSH.sh feat: enable shell error checks (#5126) 2024-02-20 19:05:39 +00:00
updateSSL.sh feat: enable shell error checks (#5126) 2024-02-20 19:05:39 +00:00
validation.sh feat: lint commit messages with commitlint (#6118) 2024-09-19 08:53:13 +00:00
worker.sh fix: handle push tag events on merge commits (#6204) 2025-02-21 14:13:03 +01:00