Contractions.yml
1 extends: substitution 2 message: "Use '%s' instead of '%s'." 3 link: https://docs.microsoft.com/en-us/style-guide/word-choice/use-contractions 4 level: error 5 ignorecase: true 6 action: 7 name: replace 8 swap: 9 are not: aren't 10 cannot: can't 11 could not: couldn't 12 did not: didn't 13 do not: don't 14 does not: doesn't 15 has not: hasn't 16 have not: haven't 17 how is: how's 18 is not: isn't 19 20 'it is(?!\.)': it's 21 'it''s(?=\.)': it is 22 23 should not: shouldn't 24 25 "that is(?![.,])": that's 26 'that''s(?=\.)': that is 27 28 'they are(?!\.)': they're 29 'they''re(?=\.)': they are 30 31 was not: wasn't 32 33 'we are(?!\.)': we're 34 'we''re(?=\.)': we are 35 36 'we have(?!\.)': we've 37 'we''ve(?=\.)': we have 38 39 were not: weren't 40 41 'what is(?!\.)': what's 42 'what''s(?=\.)': what is 43 44 'when is(?!\.)': when's 45 'when''s(?=\.)': when is 46 47 'where is(?!\.)': where's 48 'where''s(?=\.)': where is 49 50 will not: won't