We have just released a big update to the config-file-validator. New features include:
- Added the --quiet flag to disable stdout
- Added the --group-by argument to organize output by pass/fail, file type, and/or directory
- Added support for EditorConfig, .env, and HOCON validation
- Added junit output to the --reporter argument to produce junit results as stdout or as a file. This is useful for CI tools like Gitlab CI that can consume and report on junit test results
- Performance improvements to file system finder which recursively scans directories for configuration files
Don't forget, there is also a Github Action for easily integrating configuration file validation into your Github Actions workflow.
jobs:
validate-config-files:
runs-on: ubuntu-latest
steps:
- uses: kehoe/validate-configs-action@v4
Copy after login
The above is the detailed content of Config-file-validator v.eleased!. For more information, please follow other related articles on the PHP Chinese website!