Skip to content

Running jsonlint with patterns in configfile blocks on stdin since v14.0.1 #18

@hdcore

Description

@hdcore

I'm working with only configuationfiles in my projects instead of cmdline parameters. But since version 14.0.1 it don't work anymore because he now always waits for stdin input.

Example of a config file: .jsonlintrc.yaml:

---
patterns:
  - "**/*.json"
  - "!resources/**"
  - "!themes/**"
continue: true
log-files: true

It worked before <V14 with only jsonlint -ln. Now I must always give arguments like the name, the directory or a pattern. But in that case he is ignoring the patterns values in the config file.

This looks caused by the fix in #17.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions