new rule - invalid ignore comment
Open
typechecking
- Dominant language
- Rust
- Stars
- 7k
- Forks
- 516
- PR merge metrics
- No merged PRs in 30d
Description
ty's [`invalid-ignore-comment`](https://docs.astral.sh/ty/reference/rules/#invalid-ignore-comment) rule detects `# type: ignore` and `# ty: ignore` comments that are a mistake.
```py
# pyrefly: ignoree[asdfasdf] # should be an error
# pyrefly: ignoree # should be an error
```
Contributor guide
Assessment
This issue has not been assessed yet.