Automattic / Automattic/harper
False positive: ItsPossessive "It's device specific."
- Dominant language
- Rust
- Stars
- 15.4k
- Forks
- 627
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 106
Description
**What got flagged?**
```
╭─[homematic.markdown:1:1]
│
582 │ description: This is the value that is set on the device. It's device specific.
│ ──┬─
│ ╰─── [Agreement::ItsPossessive] (pri 31): Use the possessive pronoun `its` (without an apostrophe) to show ownership. The word `it's` (with an apostrophe) is a contraction of 'it is' or 'it has' and should not be used to indicate possession.
─────╯
```
https://github.com/home-assistant/home-assistant.io/blob/f1c8b9b2b1a5368f002717d9c911876532078517/source/_integrations/homematic.markdown?plain=1#L582
**Why is this incorrect?**
"It's" is correct here, this is not possessive.
**Example of correct usage:**
N/A
Contributor guide
Research direction
Start by locating the Agreement::ItsPossessive rule and its tests in Harper, then reproduce the report using the sentence from homematic.markdown. Done means the contraction in “It's device specific” is accepted while genuine possessive uses of “its” remain covered by the rule's tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100