i18n (check-text) returning false positives
Open
bug
- Dominant language
- TypeScript
- Stars
- 2.5k
- Forks
- 232
- PR merge metrics
- No merged PRs in 30d
Description
**Config:**
```JSON
{
"rules": {
"i18n": [
true,
"check-id",
"check-text"
]
}
}
```
```ts
@Component({
template: `
add
visibility{{ passwordType === 'text' ? '_off' : '' }}
`
})
class Test {}
```
Contributor guide
Research direction
Reproduce the reported i18n check-text failures with the supplied Angular template and configuration. Start at the i18n rule's check-text handling, then compare its treatment of mat-icon text and the interpolated password icon expression. Done means these examples no longer produce false-positive reports.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular, typescript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100