mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
build(docs-infra): add words to ignore in snippets (#34915)
PR Close #34915
This commit is contained in:
committed by
Andrew Kushnir
parent
35916d3b5d
commit
bbd5bd97b2
+1
-1
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user