lint/test
George L. Yermulnik 417a58a62d
Some checks failed
Publish Images / Build and Test (push) Has been cancelled
Build and Test / Set build metadata (push) Has been cancelled
Build and Test / Build test suite matrix (push) Has been cancelled
Build and Test / preview-release-notes (push) Has been cancelled
Lint commit / commitlint (push) Has been cancelled
Publish Images / Release (push) Has been cancelled
Build and Test / Build and Test (push) Has been cancelled
Build and Test / Test the Super-linter GitHub Action (push) Has been cancelled
Build and Test / Run test cases (push) Has been cancelled
Build and Test / Check if all the tests passed (push) Has been cancelled
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
..
data fix: handle push tag events on merge commits (#6204) 2025-02-21 14:13:03 +01:00
inspec/super-linter chore: fix ruby linting issues (#6614) 2025-02-26 10:36:42 +01:00
lib fix: skip symbolic links when passing files to prettier (#6620) 2025-03-05 13:33:32 +00:00
linters fix: skip symbolic links when passing files to prettier (#6620) 2025-03-05 13:33:32 +00:00
linters-config/fix-mode chore: fix formatting issues (#6028) 2024-08-15 10:21:26 +02:00
run-super-linter-tests.sh fix: handle push tag events on merge commits (#6204) 2025-02-21 14:13:03 +01:00
testUtils.sh fix: handle push tag events on merge commits (#6204) 2025-02-21 14:13:03 +01:00
validate-docker-labels.sh Validate container image labels (#4926) 2023-12-07 14:18:47 +00:00