lint/.github/linters
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
..
.clj-kondo Bump cljkondo/clj-kondo from 2022.03.09-alpine to 2022.09.08-alpine (#3305) 2022-09-29 11:57:36 +02:00
.checkov-test-linters-failure.yaml chore: fix formatting issues (#6028) 2024-08-15 10:21:26 +02:00
.checkov-test-linters-success.yaml chore: fix formatting issues (#6028) 2024-08-15 10:21:26 +02:00
.checkov.baseline feat: add support for checkov to lint iac files (#4925) 2023-12-22 13:22:15 +01:00
.checkov.yaml chore: fix formatting issues (#6028) 2024-08-15 10:21:26 +02:00
.eslintrc.yml chore: fix formatting issues (#6028) 2024-08-15 10:21:26 +02:00
.gitleaks-ignore-tests.toml feat: run linters in parallel (#5177) 2024-01-30 19:24:55 +00:00
.golangci.yml chore: fix formatting issues (#6028) 2024-08-15 10:21:26 +02:00
.hadolint.yaml chore: fix formatting issues (#6028) 2024-08-15 10:21:26 +02:00
.jscpd-test-linters.json chore: fix formatting issues (#6028) 2024-08-15 10:21:26 +02:00
.jscpd.json fix: skip symbolic links when passing files to prettier (#6620) 2025-03-05 13:33:32 +00:00
.markdown-lint.yml chore: format super-linter summaries (#6063) 2024-08-25 19:43:33 +02:00
.powershell-psscriptanalyzer.psd1 Revert psd1 extension change and ignore PSMissingModuleManifestField 2023-01-05 09:46:51 -05:00
tsconfig.json chore: fix formatting issues (#6028) 2024-08-15 10:21:26 +02:00