-
Notifications
You must be signed in to change notification settings - Fork 212
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
chore(cosmic-proto): Add eslint coverage #10483
Conversation
Deploying agoric-sdk with Cloudflare Pages
|
packages/cosmic-proto/package.json
Outdated
"lint": "tsc", | ||
"lint": "run-s --continue-on-error lint:*", | ||
"lint:types": "tsc", | ||
"lint:eslint": "eslint $(sed 's/#.*//; /[^[:space:]]/ s/^/--ignore-pattern /' .eslintignore) .", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is unnecessarily hacky. The higher level config is at project root, so if that's causing problems we should fix it there.
But I'm not sure any of this is worth the effort. What do you want to eslint in this package? It's mostly codegen.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you want to eslint in this package? It's mostly codegen.
I encountered an issue here while working on another PR, but I don't remember where.
This is unnecessarily hacky. The higher level config is at project root, so if that's causing problems we should fix it there.
OK, fair point. Done.
Description
Some higher-level configuration is overriding the local .eslintignore, so this PR works around that by copying its lines into--ignore-pattern
CLI options.Security Considerations
n/a
Scaling Considerations
n/a
Documentation Considerations
n/a
Testing Considerations
n/a
Upgrade Considerations
n/a