Skip to content

interpret -- as stdin #55

@neonstalwart

Description

@neonstalwart

in jshint/jshint#687, there's an interest in being able to use the jshint cli interface by passing -- as a filename and having the input from stdin used as the contents of the file. since jshint uses shelljs i was wondering if it would be possible to add this support to shelljs - it's probably useful to lots of other people who use shelljs too.

i'm not very familiar with shelljs but if someone could give me some guidance on how to approach this, i might take a stab at it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions