Skip to content

chore: lint on ci and lint test files #5727

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

Merged
merged 2 commits into from
May 13, 2022
Merged

Conversation

cexbrayat
Copy link
Member

This PR adds a linting job on CI to catch regressions.
A few lint issues have been fixed in the process (one lint rule has been removed as the restriction no longer applies, see 7efb9db).

The test files are now also processed, and rules have been added to avoid letting focused or disabled tests slip through.

This has been discussed after #5715

@netlify
Copy link

netlify bot commented Apr 15, 2022

Deploy Preview for vue-sfc-playground ready!

Name Link
🔨 Latest commit b8e0b24
🔍 Latest deploy log https://app.netlify.com/sites/vue-sfc-playground/deploys/627cc2258f01ce000952a16f
😎 Deploy Preview https://deploy-preview-5727--vue-sfc-playground.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify
Copy link

netlify bot commented Apr 15, 2022

Deploy Preview for vuejs-coverage ready!

Name Link
🔨 Latest commit b8e0b24
🔍 Latest deploy log https://app.netlify.com/sites/vuejs-coverage/deploys/627cc225c8a8e70008821b4c
😎 Deploy Preview https://deploy-preview-5727--vuejs-coverage.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify
Copy link

netlify bot commented Apr 15, 2022

Deploy Preview for vue-next-template-explorer ready!

Name Link
🔨 Latest commit b8e0b24
🔍 Latest deploy log https://app.netlify.com/sites/vue-next-template-explorer/deploys/627cc2267de85b0009d495b4
😎 Deploy Preview https://deploy-preview-5727--vue-next-template-explorer.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@cexbrayat cexbrayat requested a review from LinusBorg April 15, 2022 14:54
@yyx990803
Copy link
Member

I introduced lint to CI in 1414f17 before seeing this PR - I grouped it with dts tests to reduce the parallel run since even with both combined they are faster than the main test suite.

The lockfile also has a bunch of conflicts now, could we rebase this?

@cexbrayat
Copy link
Member Author

@yyx990803 The PR is rebased and only kept the relevant changes: add linting for test files and ensure that we don't let focused tests slip through.

@yyx990803 yyx990803 merged commit 6cca0d3 into vuejs:main May 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants