We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi!
I think it would be useful if I could do something like:
npx suppress-ts-errors --message="Flow to TS migration."
and get comments like these:
// @ts-expect-error: Flow to TS migration. // @ts-expect-error TS7016: Flow to TS migration.
The text was updated successfully, but these errors were encountered:
There is a great tool of similar kind, which can be used as inspiration here https://github.com/privatenumber/eslint-plugin-fix-later?tab=readme-ov-file#insertdisablecomment It allows you to add message as well as insert codeowner in the comment, which is IMO great to delegate this fix Also, there is an option to where to put to commend, after disable command or above
codeowner
Sorry, something went wrong.
@kopach That looks great, but unfortunately it looks like that tool only works for ESLint errors, there is no mention of suppressing TypeScript errors
Yes, I've just referenced it here for implementation inspiration
No branches or pull requests
Hi!
I think it would be useful if I could do something like:
npx suppress-ts-errors --message="Flow to TS migration."
and get comments like these:
The text was updated successfully, but these errors were encountered: