superlint/.github
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
..
ISSUE_TEMPLATE chore: fix formatting issues (#6028) 2024-08-15 10:21:26 +02:00
linters fix: skip symbolic links when passing files to prettier (#6620) 2025-03-05 13:33:32 +00:00
release-please chore(main): release 7.3.0 (#6460) 2025-02-26 15:29:20 +00:00
workflows ci(github-actions): bump actions/upload-artifact (#6604) 2025-02-24 17:40:34 +00:00
CODEOWNERS Simplify container image build (#4962) 2023-12-15 11:59:36 +01:00
CONTRIBUTING.md chore: devcontainer, docs, prettier config (#6119) 2024-09-13 14:37:48 +02:00
dependabot.yml chore: group commitlint updates (#6557) 2025-02-17 14:00:21 +01:00
pull_request-template.md chore: devcontainer, docs, prettier config (#6119) 2024-09-13 14:37:48 +02:00