%PDF- %GIF98; %PNG;
Server : ApacheSystem : Linux host.digitalbabaji.in 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Wed Jan 17 02:00:40 EST 2024 x86_64 User : addictionfreeind ( 1003) PHP Version : 7.2.34 Disable Function : exec,passthru,shell_exec,system Directory : /home/addictionfreeind/public_html/admin1/vendor/phpro/grumphp/doc/tasks/ |
Upload File : |
# JsonLint
The JsonLint task will lint all your json files.
It lives under the `jsonlint` namespace and has following configurable parameters:
```yaml
# grumphp.yml
grumphp:
tasks:
jsonlint:
ignore_patterns: []
detect_key_conflicts: false
```
**ignore_patterns**
*Default: []*
This is a list of patterns that will be ignored by the linter.
With this option you can skip files like test fixtures. Leave this option blank to run the linter for every json file.
**detect_key_conflicts**
*Default: false*
This option will throw exceptions when duplicate keys are detected in the json file.