build(docs-infra): add words to ignore in snippets (#34915)

PR Close #34915
This commit is contained in:
Judy Bogart 2020-01-22 15:52:31 -08:00 committed by Andrew Kushnir
parent 09869af90f
commit 549ab2ecc3
1 changed files with 1 additions and 1 deletions

View File

@ -5,6 +5,6 @@
*/
module.exports = function ignoreGenericWords() {
const ignoredWords = new Set(['a', 'create', 'error', 'group', 'request', 'value']);
const ignoredWords = new Set(['a', 'classes', 'create', 'error', 'group', 'request', 'target', 'value']);
return (docs, words, index) => ignoredWords.has(words[index].toLowerCase()) ? [] : docs;
};