question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`yarn lint` in agoric-sdk failing with mysterious error

See original GitHub issue

Doing a yarn lint at the top, I got

image

The only mention of “lint:format” seems to be https://github.com/Agoric/agoric-sdk/blob/f5be67f6e5c0d5a01aca66256502e2c453e128ae/package.json#L85

It isn’t referenced from any other rule, and I didn’t invoke it. The wallet-connection is the last item mentioned in “workspaces” and it seemed to succeed, so the overall yarn lint should have succeeded.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
mhofmancommented, Feb 3, 2022

@turadg looks like prettier is not excluding code_coverage. I think we really need a .prettierignore file.

0reactions
mhofmancommented, Feb 3, 2022

Probably because @erights at some point ran coverage locally, and since it’s in .gitignore it’s laying around unnoticed. I regularly deep clean my local repo, so never run into such issues. CI doesn’t either because those tests likely use different runners.

That said +1 for .prettierignore being a superset of .gitignore

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using yarn lint will fail with error ' was unexpected at this time ...
moved from exercism/exercism#3572 Typescript excecism using Windows OS (8.1) When running yarn lint above error will occur. error details: ...
Read more >
yarn lint fails in turborepo - node.js - Stack Overflow
If I run yarn lint from the project level it throws this error api:lint: $ lb-eslint --report-unused-disable-directives . api:lint: ...
Read more >
Enforcing Consistent Code in Expo React Native Projects
The problem is that ESLint doesn't consider "warnings" as fatal errors; so, yarn lint runs and quits with an exit code of 0....
Read more >
How To Todo In Ember Template Lint
Next, run the command yarn lint:hbs again: a terminal showing 2 errors, 0 warnings, and 0 todos. Note: ember-template-lint also takes a ...
Read more >
Avoid Lint Errors in CI with Git Hooks - Atomic Spin
It's a common practice to run linter tools in Continuous Integration. Git Hooks can help automate this process and stop lint errors from ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found