textlint-rule / textlint-rule-preset-google

[WIP] Google Developer Documentation Style Guide for textlint.
https://developers.google.com/style/
MIT License
14 stars 3 forks source link

possessives: mismatch #24

Open azu opened 6 years ago

azu commented 6 years ago

@textlint-rule/textlint-rule-preset-google/google-possessives: To form a possessive of a singular noun (regardless of whether it ends in s) or a plural noun that doesn't end in "s", add "'s" to the end of the word
https://developers.google.com/style/possessives
/Users/azu/.ghq/github.com/almin/almin/README.md:186:38
                                              v
    185. 2. Create your feature branch: `git checkout -b my-new-feature`
    186. 3. Commit your changes: `git commit -am 'Add some feature'`
    187. 4. Push to the branch: `git push origin my-new-feature`
                                              ^

What is wrong?

azu commented 6 years ago

Commit your changes: git commit -am 'Add some feature'

possessives rule detect r'. It it wrong. We need to parse Quotation marks .