microsoft / microsoft/typespec

Linter suppressions should apply to references to the type with suppression

Open
#2,037 0 comments 0 reactions 0 assignees View on GitHub
design:needed
Dominant language
Java
Stars
5.9k
Forks
394
Avg merge
1d 23h
Merged PRs (30d)
104

Description

If I have

```typespec

interface Foo {
#suppress "linting-rule-id" "reason"
op myOp():void;
}
op otherOp is Foo.myOp; // should require no additional suppression
```

The reference to the operation with the suppression should not require additional suppression

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.