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

Future - improve linting a bit #18642

Merged
merged 1 commit into from
Jul 6, 2022
Merged

Conversation

ndelangen
Copy link
Member

@ndelangen ndelangen commented Jul 6, 2022

Add eslint CLI flag to only show errors in lint output,
Because scrolling past 10000 warnings isn't helping..

Why we have so many warning? you ask?
🦗

@nx-cloud
Copy link

nx-cloud bot commented Jul 6, 2022

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 8c0d7be. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this branch


✅ Successfully ran 1 target

Sent with 💌 from NxCloud.

@ndelangen ndelangen changed the base branch from next to future/base July 6, 2022 17:45
@ndelangen ndelangen self-assigned this Jul 6, 2022
@ndelangen ndelangen added the maintenance User-facing maintenance tasks label Jul 6, 2022
Comment on lines -33 to -41
child_process.exec(
`yarn lint:js:cmd --fix ${location}`,
{
cwd: path.join(__dirname, '..', '..', '..'),
},
() => {
console.log('Done!');
}
);
Copy link
Member Author

Choose a reason for hiding this comment

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

This wasn't awaited, so could be stopped mid-process if build failed

@ndelangen ndelangen merged commit c70361f into future/base Jul 6, 2022
@ndelangen ndelangen deleted the future/improve-linting-a-bit branch July 6, 2022 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance User-facing maintenance tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant