Skip to content

support custom path / glob for kyt lint-* commands #548

@montmanu

Description

@montmanu

Versions of kyt, node, OS

kyt node OS
[email protected] v8.8.1 Darwin 15.6.0 x86_64 i386

Bug or Feature?

Feature

Current Behavior

neither of the following commands restricts the linter to the supplied path / glob:

# where package.scripts['lint-script'] = "kyt lint-script --"
npm run lint-script -- path/to/my/mod/**/*.js 
./node_modules/.bin/kyt lint-script -- path/to/my/mod/**/*.js

Desired Behavior

the following command passes the path / glob argument to the underlying linter

npm run lint-script -- path/to/my/mod/**/*.js

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions