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

Create function to run "global" linters #5939

Closed
wants to merge 3 commits into from

Conversation

queengooborg
Copy link
Contributor

This PR was cherry-picked from #5300 to combine our "global" tests into one function with a structure similar to the file testing function, including using the ora spinner, and basing the error count off of console errors instead of return values.

In #5300 (comment), it was also suggested that a different name besides "global test" is used. Perhaps "non-data"?

@queengooborg queengooborg requested a review from Elchi3 as a code owner April 3, 2020 17:11
@ghost ghost added the linter Issues or pull requests regarding the tests / linter of the JSON files. label Apr 3, 2020
@queengooborg queengooborg mentioned this pull request Apr 3, 2020
23 tasks
@ddbeck
Copy link
Collaborator

ddbeck commented Oct 28, 2020

Hey Vinyl, thank you for this PR. I'm grateful that you gave this some thought and considered how to improve things. That said, I think the proposal to adopt Mocha (see #6855) is going to obviate the need for a lot of this. This a similar theme to Florian's comment on #5300—breaking testing out separately from linting. For instance, I foresee testMigrations being eliminated in favor of running Mocha directly. I'm going to close this PR, but thank you again for bringing this up.

@ddbeck ddbeck closed this Oct 28, 2020
@ddbeck ddbeck removed the request for review from Elchi3 October 28, 2020 16:16
@queengooborg queengooborg deleted the linter/globals branch October 31, 2020 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
linter Issues or pull requests regarding the tests / linter of the JSON files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants