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)
- Run jscpd, gitleaks, textlint against the entire workspace instead of
running them over single files, one by one.
- Implement a warning function for deprecated variables.
- Deprecate the VALIDATE_JSCPD_ALL_CODEBASE variable.
- Remove duplicate configuration files when they are the same as the
ones we provide in TEMPLATES.
- Add a missing tests for ansible-lint.
- Move ANSIBLE_DIRECTORY configuration when running tests in
buildFileList, where similar configs are.
- Simplify ansible-lint test cases to include only what's necessary, and
not an entire set of roles, playbooks, and inventory.
- Write instructions about major upgrades in the upgrade guide.