Skip to content

How to exclude file paths? #197

@mcandre

Description

@mcandre

How are users supposed to configure jsfmt in order to exclude custom file paths? I'm having trouble finding this option in the provided documentation. For example, CoffeeScript projects will want to jsfmt any Gruntfile.js, Gulpfile.js scripts, but otherwise ignore any lib/*.js or similar compiled JS paths.

As a workaround, one could use UNIX find, xargs to wrap jsfmt over specific file patterns, but this option should really just be built into jsfmt itself for cross-compatibility. And it's rather involved to implement an accurate shell script snippet for allowing bin/<NodeJS-script-with-a-shebang-but-without-a-file-extension>, compared to doing this right in jsfmt.

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