Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes lint-on-commit hook #7708

Merged
merged 1 commit into from Jan 1, 2020
Merged

Conversation

telamonian
Copy link
Member

Currently, lint-on-commit is broken; no files ever get linted, and then the integrity CI check complains. It turns out that the glob pattern given in the .lintstagedrc doesn't match any files. It looks like @vidartf made the relevant change in 0bdce26 as part of #7657. The commit msg from 0bdce26 suggests that the changes were made with the goal of Windows compatibility.

This PR has the fix needed to get the lint hook working for me (OS X 10.14). Could someone with Windows please also test this PR?

@jupyterlab-dev-mode
Copy link

Thanks for making a pull request to JupyterLab!

To try out this branch on binder, follow this link: Binder

Copy link
Member

@afshin afshin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cheers!

@afshin afshin merged commit 065be47 into jupyterlab:master Jan 1, 2020
@vidartf
Copy link
Member

vidartf commented Jan 14, 2020

Now it is back to the old behavior where only nix gets lint on commit.

@telamonian
Copy link
Member Author

@vidartf I'm on it

@lock lock bot added the status:resolved-locked Closed issues are locked after 30 days inactivity. Please open a new issue for related discussion. label Feb 14, 2020
@lock lock bot locked as resolved and limited conversation to collaborators Feb 14, 2020
@jasongrout jasongrout added this to the 2.0 milestone Feb 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status:resolved-locked Closed issues are locked after 30 days inactivity. Please open a new issue for related discussion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants