Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Set CWD and fix ignore handling #385

Merged
merged 2 commits into from
May 5, 2017
Merged

Set CWD and fix ignore handling #385

merged 2 commits into from
May 5, 2017

Conversation

Arcanemagus
Copy link
Member

@Arcanemagus Arcanemagus commented May 4, 2017

Since JSHint can't handle .jshintignore files for content sent in via stdin, check this manually using minimatch.

Also sets the CWD for better automatic resolution of the configuration, since that at least works within JSHint.

Fixes #302.

Adds a spec that checks whether any .jshintignore file is being properly
handled.
@Arcanemagus Arcanemagus force-pushed the arcanemagus/set-cwd branch 3 times, most recently from 2e5fa65 to 650643b Compare May 4, 2017 23:45
Since JSHint can't handle `.jshintignore` files for content sent in via
stdin, check this manually using `minimatch`.

Also sets the CWD for better automatic resolution of the configuration,
since that at least works within JSHint.
@Arcanemagus Arcanemagus force-pushed the arcanemagus/set-cwd branch from 650643b to 96b6436 Compare May 5, 2017 15:46
@Arcanemagus Arcanemagus merged commit 2df8d72 into master May 5, 2017
@Arcanemagus Arcanemagus deleted the arcanemagus/set-cwd branch May 5, 2017 15:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant