superlint/test/lib
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
..
buildFileListTest.sh chore: prepare tests for updates (#6279) 2024-11-14 15:29:44 +01:00
detectFilesTest.sh fix: skip symbolic links when passing files to prettier (#6620) 2025-03-05 13:33:32 +00:00
githubEventTest.sh chore: extract language array definition (#5945) 2024-07-31 17:00:41 +02:00
globalsLanguagesTest.sh feat: prettier for additional languages (#6025) 2024-08-15 11:46:02 +02:00
globalsLinterCommandsOptionsTest.sh fix: add missing fix mode options and test cases (#5987) 2024-08-12 12:31:38 +02:00
linterCommandsTest.sh feat: add env var for npm-groovy-lint failon level (#6530) 2025-03-04 21:13:33 +01:00
linterRulesTest.sh fix: add missing fix mode options and test cases (#5987) 2024-08-12 12:31:38 +02:00
linterVersionsTest.sh chore: shorten linter versions (#6176) 2024-10-14 18:43:10 +02:00
outputTest.sh feat: optionally remove color codes from output (#6095) 2024-08-31 19:50:00 +02:00
setupSSHTest.sh chore: extract language array definition (#5945) 2024-07-31 17:00:41 +02:00
validationTest.sh fix: handle push tag events on merge commits (#6204) 2025-02-21 14:13:03 +01:00