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

build: Fix nx-config for lint #10050

Merged
merged 3 commits into from
Jan 4, 2024
Merged

build: Fix nx-config for lint #10050

merged 3 commits into from
Jan 4, 2024

Conversation

lforst
Copy link
Member

@lforst lforst commented Jan 4, 2024

I ran into some funky behaviour where I had to run the lint script multiple times in order for all lint errors to be printed to me in the terminal.

Then I realized this mistake in our Nx config that we hadn't referenced the lint script but the lint:eslint script which doesn't exist.

I think this got introduced in 5658aff

Additionally, lint technically depends on build:types of the parent package, and in some cases even in the own package (Next.js), so I added that to the nx config.

Also, we were not marking the right outputs of build, so we're fixing that.

@lforst lforst requested review from mydea and Lms24 January 4, 2024 10:02
@lforst lforst merged commit c769958 into develop Jan 4, 2024
95 checks passed
@lforst lforst deleted the lforst-fix-nx-config-lint branch January 4, 2024 10:59
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