diff --git a/packages/cspell/fixtures/features/inline-suggest/cspell.config.yaml b/packages/cspell/fixtures/features/inline-suggest/cspell.config.yaml index 0cb081aa751..49b88a31dff 100644 --- a/packages/cspell/fixtures/features/inline-suggest/cspell.config.yaml +++ b/packages/cspell/fixtures/features/inline-suggest/cspell.config.yaml @@ -4,12 +4,14 @@ ignorePaths: - 'cspell*.{json,yaml}' dictionaryDefinitions: + # cspell:disable - name: suggestions suggestWords: - bluelist->blueList - Bluelist->BlueList - blulist->blueList - Blulist->BlueList + # cspell:enable dictionaries: - suggestions diff --git a/packages/cspell/src/app/__snapshots__/app.test.ts.snap b/packages/cspell/src/app/__snapshots__/app.test.ts.snap index 416cab3f686..e8520eb5627 100644 --- a/packages/cspell/src/app/__snapshots__/app.test.ts.snap +++ b/packages/cspell/src/app/__snapshots__/app.test.ts.snap @@ -11,14 +11,6 @@ error 2/2 second-fail.txt 0.00ms X error log second-fail.txt:1:1 - Unknown word (iamtypotoo) log -error ------------------------------------------- -error -error Issues found: -error -error first-fail.txt:1:1 - Unknown word (iamtypo) -error -error second-fail.txt:1:1 - Unknown word (iamtypotoo) -error error CSpell: Files checked: 2, Issues found: 2 in 2 files. error" `; @@ -32,12 +24,6 @@ exports[`Validate cli > app '--fail-fast with config' Expect Error: [Function Ch error log first-fail.txt:1:1 - Unknown word (iamtypo) log -error ------------------------------------------- -error -error Issues found: -error -error first-fail.txt:1:1 - Unknown word (iamtypo) -error error CSpell: Files checked: 1, Issues found: 1 in 1 file. error" `; @@ -51,12 +37,6 @@ exports[`Validate cli > app '--fail-fast with option' Expect Error: [Function Ch error log first-fail.txt:1:1 - Unknown word (iamtypo) log -error ------------------------------------------- -error -error Issues found: -error -error first-fail.txt:1:1 - Unknown word (iamtypo) -error error CSpell: Files checked: 1, Issues found: 1 in 1 file. error" `; @@ -103,14 +83,6 @@ error 2/2 second-fail.txt 0.00ms X error log second-fail.txt:1:1 - Unknown word (iamtypotoo) log -error ------------------------------------------- -error -error Issues found: -error -error first-fail.txt:1:1 - Unknown word (iamtypo) -error -error second-fail.txt:1:1 - Unknown word (iamtypotoo) -error error CSpell: Files checked: 2, Issues found: 2 in 2 files. error" `; @@ -1532,388 +1504,6 @@ log samples/Dutch.txt:78:4 - Unknown word (instelling) log log samples/Dutch.txt:78:18 - Unknown word (ANBI) log -error ------------------------------------------- -error -error Issues found: -error -error samples/Dutch.txt:1:32 - Unknown word (NEDERLANDS) -error -error samples/Dutch.txt:2:11 - Unknown word (wordt) -error -error samples/Dutch.txt:2:17 - Unknown word (vriendelijk) -error -error samples/Dutch.txt:2:29 - Unknown word (verzocht) -error -error samples/Dutch.txt:2:45 - Unknown word (bestand) -error -error samples/Dutch.txt:3:10 - Unknown word (lezen) -error -error samples/Dutch.txt:3:26 - Unknown word (leveren) -error -error samples/Dutch.txt:3:38 - Unknown word (iedere) -error -error samples/Dutch.txt:3:45 - Unknown word (kopie) -error -error samples/Dutch.txt:3:59 - Unknown word (taalhulpbestand) -error -error samples/Dutch.txt:5:4 - Unknown word (Naam) -error -error samples/Dutch.txt:5:10 - Unknown word (Nederlandstalige) -error -error samples/Dutch.txt:5:27 - Unknown word (woordenlijst) -error -error samples/Dutch.txt:5:40 - Unknown word (voor) -error -error samples/Dutch.txt:5:45 - Unknown word (spellingcontrole) -error -error samples/Dutch.txt:6:4 - Unknown word (Versie) -error -error samples/Dutch.txt:6:11 - Unknown word (woordenlijst) -error -error samples/Dutch.txt:6:32 - Unknown word (versie) -error -error samples/Dutch.txt:6:39 - Unknown word (spellingcontrole) -error -error samples/Dutch.txt:7:4 - Unknown word (Vereisten) -error -error samples/Dutch.txt:7:33 - Unknown word (hoger) -error -error samples/Dutch.txt:8:4 - Unknown word (Keurmerk) -error -error samples/Dutch.txt:8:22 - Unknown word (Nederlandse) -error -error samples/Dutch.txt:8:34 - Unknown word (Taalunie) -error -error samples/Dutch.txt:8:47 - Unknown word (lijst) -error -error samples/Dutch.txt:8:57 - Unknown word (basiswoorden) -error -error samples/Dutch.txt:9:13 - Unknown word (draagt) -error -error samples/Dutch.txt:9:24 - Unknown word (keurmerk) -error -error samples/Dutch.txt:9:40 - Unknown word (Nederlandse) -error -error samples/Dutch.txt:9:52 - Unknown word (Taalunie) -error -error samples/Dutch.txt:9:62 - Unknown word (Voor) -error -error samples/Dutch.txt:9:67 - Unknown word (meer) -error -error samples/Dutch.txt:10:4 - Unknown word (informatie) -error -error samples/Dutch.txt:11:4 - Unknown word (Auteursrechten) -error -error samples/Dutch.txt:11:60 - Unknown word (Brouwer) -error -error samples/Dutch.txt:12:11 - Unknown word (Nederlandstalige) -error -error samples/Dutch.txt:12:32 - Unknown word (Gebruikersgroep) -error -error samples/Dutch.txt:13:4 - Unknown word (Licenties) -error -error samples/Dutch.txt:13:24 - Unknown word (heeft) -error -error samples/Dutch.txt:13:34 - Unknown word (doel) -error -error samples/Dutch.txt:13:42 - Unknown word (vrij) -error -error samples/Dutch.txt:13:47 - Unknown word (beschikbare) -error -error samples/Dutch.txt:13:59 - Unknown word (Nederlandstalige) -error -error samples/Dutch.txt:14:4 - Unknown word (taalhulpbestanden) -error -error samples/Dutch.txt:14:25 - Unknown word (ontwikkelen) -error -error samples/Dutch.txt:14:43 - Unknown word (verspreiden) -error -error samples/Dutch.txt:14:70 - Unknown word (gebruik) -error -error samples/Dutch.txt:15:4 - Unknown word (mogelijk) -error -error samples/Dutch.txt:15:16 - Unknown word (maken) -error -error samples/Dutch.txt:15:22 - Unknown word (zijn) -error -error samples/Dutch.txt:15:30 - Unknown word (taalhulpbestanden) -error -error samples/Dutch.txt:15:55 - Unknown word (beschikbaar) -error -error samples/Dutch.txt:15:67 - Unknown word (onder) -error -error samples/Dutch.txt:16:4 - Unknown word (onderstaande) -error -error samples/Dutch.txt:16:18 - Unknown word (liberale) -error -error samples/Dutch.txt:16:27 - Unknown word (licenties) -error -error samples/Dutch.txt:16:37 - Unknown word (naar) -error -error samples/Dutch.txt:16:42 - Unknown word (keuze) -error -error samples/Dutch.txt:16:55 - Unknown word (gebruiker) -error -error samples/Dutch.txt:16:68 - Unknown word (wordt) -error -error samples/Dutch.txt:17:4 - Unknown word (zeerste) -error -error samples/Dutch.txt:17:12 - Unknown word (aangeraden) -error -error samples/Dutch.txt:17:26 - Unknown word (voorafgaand) -error -error samples/Dutch.txt:17:46 - Unknown word (gebruik) -error -error samples/Dutch.txt:17:54 - Unknown word (kennis) -error -error samples/Dutch.txt:17:64 - Unknown word (nemen) -error -error samples/Dutch.txt:18:4 - Unknown word (toepasselijke) -error -error samples/Dutch.txt:18:18 - Unknown word (licentie) -error -error samples/Dutch.txt:19:12 - Unknown word (herziene) -error -error samples/Dutch.txt:19:21 - Unknown word (versie) -error -error samples/Dutch.txt:20:6 - Unknown word (Volledige) -error -error samples/Dutch.txt:20:16 - Unknown word (licentie) -error -error samples/Dutch.txt:21:6 - Unknown word (Samenvatting) -error -error samples/Dutch.txt:22:25 - Unknown word (Naamsvermelding) -error -error samples/Dutch.txt:22:46 - Unknown word (unported) -error -error samples/Dutch.txt:23:6 - Unknown word (Volledige) -error -error samples/Dutch.txt:23:16 - Unknown word (licentie) -error -error samples/Dutch.txt:24:6 - Unknown word (Samenvatting) -error -error samples/Dutch.txt:25:4 - Unknown word (Steun) -error -error samples/Dutch.txt:25:36 - Unknown word (vrijwilligersproject) -error -error samples/Dutch.txt:25:57 - Unknown word (zonder) -error -error samples/Dutch.txt:25:64 - Unknown word (winstoogmerk) -error -error samples/Dutch.txt:26:13 - Unknown word (kleine) -error -error samples/Dutch.txt:26:21 - Unknown word (financiële) -error -error samples/Dutch.txt:26:32 - Unknown word (steun) -error -error samples/Dutch.txt:26:51 - Unknown word (meer) -error -error samples/Dutch.txt:26:56 - Unknown word (activiteiten) -error -error samples/Dutch.txt:26:69 - Unknown word (ontplooien) -error -error samples/Dutch.txt:27:19 - Unknown word (professionaliseren) -error -error samples/Dutch.txt:27:42 - Unknown word (donatie) -error -error samples/Dutch.txt:27:63 - Unknown word (welkom) -error -error samples/Dutch.txt:28:4 - Unknown word (rekeningnummer) -error -error samples/Dutch.txt:28:39 - Unknown word (Stichting) -error -error samples/Dutch.txt:28:62 - Unknown word (giften) -error -error samples/Dutch.txt:28:69 - Unknown word (zijn) -error -error samples/Dutch.txt:29:4 - Unknown word (aftrekbaar) -error -error samples/Dutch.txt:29:22 - Unknown word (belasting) -error -error samples/Dutch.txt:29:33 - Unknown word (Stichting) -error -error samples/Dutch.txt:29:55 - Unknown word (namelijk) -error -error samples/Dutch.txt:30:4 - Unknown word (Belastingdienst) -error -error samples/Dutch.txt:30:20 - Unknown word (erkend) -error -error samples/Dutch.txt:30:31 - Unknown word (ANBI) -error -error samples/Dutch.txt:30:37 - Unknown word (oftewel) -error -error samples/Dutch.txt:30:46 - Unknown word (Algemeen) -error -error samples/Dutch.txt:30:59 - Unknown word (Beogende) -error -error samples/Dutch.txt:30:68 - Unknown word (Instelling) -error -error samples/Dutch.txt:32:4 - Unknown word (Meedoen) -error -error samples/Dutch.txt:32:13 - Unknown word (Iedereen) -error -error samples/Dutch.txt:32:25 - Unknown word (welkom) -error -error samples/Dutch.txt:32:42 - Unknown word (doen) -error -error samples/Dutch.txt:32:53 - Unknown word (fouten) -error -error samples/Dutch.txt:32:61 - Unknown word (discussieer) -error -error samples/Dutch.txt:33:7 - Unknown word (mailinglijst) -error -error samples/Dutch.txt:33:23 - Unknown word (draai) -error -error samples/Dutch.txt:33:52 - Unknown word (dragen) -error -error samples/Dutch.txt:33:75 - Unknown word (stemt) -error -error samples/Dutch.txt:34:6 - Unknown word (ermee) -error -error samples/Dutch.txt:34:22 - Unknown word (bijdrage) -error -error samples/Dutch.txt:34:39 - Unknown word (desbetreffende) -error -error samples/Dutch.txt:34:54 - Unknown word (taalhulpbestand) -error -error samples/Dutch.txt:34:70 - Unknown word (beschikbaar) -error -error samples/Dutch.txt:35:4 - Unknown word (komt) -error -error samples/Dutch.txt:35:9 - Unknown word (onder) -error -error samples/Dutch.txt:35:15 - Unknown word (vrije) -error -error samples/Dutch.txt:35:27 - Unknown word (opensource) -error -error samples/Dutch.txt:35:38 - Unknown word (licenties) -error -error samples/Dutch.txt:35:49 - Unknown word (Indien) -error -error samples/Dutch.txt:35:62 - Unknown word (wenst) -error -error samples/Dutch.txt:36:4 - Unknown word (naam) -error -error samples/Dutch.txt:36:23 - Unknown word (genoemd) -error -error samples/Dutch.txt:36:31 - Unknown word (worden) -error -error samples/Dutch.txt:36:42 - Unknown word (ontvangen) -error -error samples/Dutch.txt:36:55 - Unknown word (schriftelijk) -error -error samples/Dutch.txt:36:68 - Unknown word (verzoek) -error -error samples/Dutch.txt:37:4 - Unknown word (daarvoor) -error -error samples/Dutch.txt:37:13 - Unknown word (graag) -error -error samples/Dutch.txt:38:4 - Unknown word (Rechten) -error -error samples/Dutch.txt:38:16 - Unknown word (derden) -error -error samples/Dutch.txt:38:33 - Unknown word (respecteert) -error -error samples/Dutch.txt:38:48 - Unknown word (rechten) -error -error samples/Dutch.txt:38:60 - Unknown word (derden) -error -error samples/Dutch.txt:39:13 - Unknown word (gegevens) -error -error samples/Dutch.txt:39:22 - Unknown word (vrij) -error -error samples/Dutch.txt:39:27 - Unknown word (beschikbaar) -error -error samples/Dutch.txt:39:39 - Unknown word (houden) -error -error samples/Dutch.txt:39:47 - Unknown word (Voor) -error -error samples/Dutch.txt:39:52 - Unknown word (bijdragen) -error -error samples/Dutch.txt:40:6 - Unknown word (daarom) -error -error samples/Dutch.txt:40:13 - Unknown word (niet) -error -error samples/Dutch.txt:40:18 - Unknown word (zonder) -error -error samples/Dutch.txt:40:25 - Unknown word (toestemming) -error -error samples/Dutch.txt:40:37 - Unknown word (gebruikmaken) -error -error samples/Dutch.txt:40:54 - Unknown word (beschermde) -error -error samples/Dutch.txt:40:65 - Unknown word (naslagwerken) -error -error samples/Dutch.txt:41:4 - Unknown word (zoals) -error -error samples/Dutch.txt:41:10 - Unknown word (woordenboeken) -error -error samples/Dutch.txt:41:36 - Unknown word (toegestaan) -error -error samples/Dutch.txt:41:50 - Unknown word (gebruik) -error -error samples/Dutch.txt:41:61 - Unknown word (maken) -error -error samples/Dutch.txt:42:4 - Unknown word (materialen) -error -error samples/Dutch.txt:42:22 - Unknown word (Nederlandse) -error -error samples/Dutch.txt:42:34 - Unknown word (Taalunie) -error -error samples/Dutch.txt:42:44 - Unknown word (zoals) -error -error samples/Dutch.txt:42:53 - Unknown word (leidraad) -error -error samples/Dutch.txt:42:68 - Unknown word (woordenlijst) -error -error samples/Dutch.txt:43:4 - Unknown word (Indien) -error -error samples/Dutch.txt:43:17 - Unknown word (mening) -error -error samples/Dutch.txt:43:42 - Unknown word (inbreuk) -error -error samples/Dutch.txt:43:50 - Unknown word (maakt) -error -error samples/Dutch.txt:43:62 - Unknown word (rechten) -error -error samples/Dutch.txt:44:4 - Unknown word (verzoeken) -error -error samples/Dutch.txt:44:19 - Unknown word (hierover) -error -error samples/Dutch.txt:44:31 - Unknown word (spoedig) -error -error samples/Dutch.txt:44:39 - Unknown word (mogelijk) -error -error samples/Dutch.txt:44:48 - Unknown word (schriftelijk) -error -error samples/Dutch.txt:45:7 - Unknown word (nemen) -error -error samples/Dutch.txt:46:13 - Unknown word (Stichting) -error -error samples/Dutch.txt:59:56 - Unknown word (Brouwer) -error -error samples/Dutch.txt:60:11 - Unknown word (Nederlandstalige) -error -error samples/Dutch.txt:60:32 - Unknown word (Gebruikersgroep) -error -error samples/Dutch.txt:68:42 - Unknown word (unported) -error -error samples/Dutch.txt:74:39 - Unknown word (RABONL) -error -error samples/Dutch.txt:74:49 - Unknown word (IBAN) -error -error samples/Dutch.txt:74:59 - Unknown word (RABO) -error -error samples/Dutch.txt:75:4 - Unknown word (Stichting) -error -error samples/Dutch.txt:77:58 - Unknown word (algemeen) -error -error samples/Dutch.txt:77:71 - Unknown word (beogende) -error -error samples/Dutch.txt:78:4 - Unknown word (instelling) -error -error samples/Dutch.txt:78:18 - Unknown word (ANBI) -error error CSpell: Files checked: 1, Issues found: 189 in 1 file. error" `; @@ -2234,24 +1824,6 @@ log text.txt:5:24 - Unknown word (okkk) log log text.txt:5:32 - Unknown word (reead) log -error ------------------------------------------- -error -error Issues found: -error -error text.txt:1:14 - Unknown word (fulll) -error -error text.txt:1:23 - Unknown word (errrorrrs) -error -error text.txt:3:4 - Unknown word (hass) -error -error text.txt:3:9 - Unknown word (someissues) -error -error text.txt:3:23 - Unknown word (everyline) -error -error text.txt:5:24 - Unknown word (okkk) -error -error text.txt:5:32 - Unknown word (reead) -error error CSpell: Files checked: 6, Issues found: 7 in 1 file. error" `; @@ -2267,14 +1839,6 @@ log samples/src/sample-with-forbidden-words.md:3:3 - Unknown word (behaviour) log log samples/src/sample-with-forbidden-words.md:5:3 - Unknown word (colour) log -error ------------------------------------------- -error -error Issues found: -error -error samples/src/sample-with-forbidden-words.md:3:3 - Unknown word (behaviour) -error -error samples/src/sample-with-forbidden-words.md:5:3 - Unknown word (colour) -error error CSpell: Files checked: 1, Issues found: 2 in 1 file. error" `; @@ -3053,398 +2617,16 @@ log samples/Dutch.txt[78, 4]: Unknown word: instelling log log samples/Dutch.txt[78, 18]: Unknown word: ANBI log -error ------------------------------------------- -error -error Issues found: -error -error samples/Dutch.txt[1, 32]: Unknown word: NEDERLANDS -error -error samples/Dutch.txt[2, 11]: Unknown word: wordt -error -error samples/Dutch.txt[2, 17]: Unknown word: vriendelijk -error -error samples/Dutch.txt[2, 29]: Unknown word: verzocht -error -error samples/Dutch.txt[2, 45]: Unknown word: bestand -error -error samples/Dutch.txt[3, 10]: Unknown word: lezen -error -error samples/Dutch.txt[3, 26]: Unknown word: leveren -error -error samples/Dutch.txt[3, 38]: Unknown word: iedere -error -error samples/Dutch.txt[3, 45]: Unknown word: kopie -error -error samples/Dutch.txt[3, 59]: Unknown word: taalhulpbestand -error -error samples/Dutch.txt[5, 4]: Unknown word: Naam -error -error samples/Dutch.txt[5, 10]: Unknown word: Nederlandstalige -error -error samples/Dutch.txt[5, 27]: Unknown word: woordenlijst -error -error samples/Dutch.txt[5, 40]: Unknown word: voor -error -error samples/Dutch.txt[5, 45]: Unknown word: spellingcontrole -error -error samples/Dutch.txt[6, 4]: Unknown word: Versie -error -error samples/Dutch.txt[6, 11]: Unknown word: woordenlijst -error -error samples/Dutch.txt[6, 32]: Unknown word: versie -error -error samples/Dutch.txt[6, 39]: Unknown word: spellingcontrole -error -error samples/Dutch.txt[7, 4]: Unknown word: Vereisten -error -error samples/Dutch.txt[7, 33]: Unknown word: hoger -error -error samples/Dutch.txt[8, 4]: Unknown word: Keurmerk -error -error samples/Dutch.txt[8, 22]: Unknown word: Nederlandse -error -error samples/Dutch.txt[8, 34]: Unknown word: Taalunie -error -error samples/Dutch.txt[8, 47]: Unknown word: lijst -error -error samples/Dutch.txt[8, 57]: Unknown word: basiswoorden -error -error samples/Dutch.txt[9, 13]: Unknown word: draagt -error -error samples/Dutch.txt[9, 24]: Unknown word: keurmerk -error -error samples/Dutch.txt[9, 40]: Unknown word: Nederlandse -error -error samples/Dutch.txt[9, 52]: Unknown word: Taalunie -error -error samples/Dutch.txt[9, 62]: Unknown word: Voor -error -error samples/Dutch.txt[9, 67]: Unknown word: meer -error -error samples/Dutch.txt[10, 4]: Unknown word: informatie -error -error samples/Dutch.txt[11, 4]: Unknown word: Auteursrechten -error -error samples/Dutch.txt[11, 60]: Unknown word: Brouwer -error -error samples/Dutch.txt[12, 11]: Unknown word: Nederlandstalige -error -error samples/Dutch.txt[12, 32]: Unknown word: Gebruikersgroep -error -error samples/Dutch.txt[13, 4]: Unknown word: Licenties -error -error samples/Dutch.txt[13, 24]: Unknown word: heeft -error -error samples/Dutch.txt[13, 34]: Unknown word: doel -error -error samples/Dutch.txt[13, 42]: Unknown word: vrij -error -error samples/Dutch.txt[13, 47]: Unknown word: beschikbare -error -error samples/Dutch.txt[13, 59]: Unknown word: Nederlandstalige -error -error samples/Dutch.txt[14, 4]: Unknown word: taalhulpbestanden -error -error samples/Dutch.txt[14, 25]: Unknown word: ontwikkelen -error -error samples/Dutch.txt[14, 43]: Unknown word: verspreiden -error -error samples/Dutch.txt[14, 70]: Unknown word: gebruik -error -error samples/Dutch.txt[15, 4]: Unknown word: mogelijk -error -error samples/Dutch.txt[15, 16]: Unknown word: maken -error -error samples/Dutch.txt[15, 22]: Unknown word: zijn -error -error samples/Dutch.txt[15, 30]: Unknown word: taalhulpbestanden -error -error samples/Dutch.txt[15, 55]: Unknown word: beschikbaar -error -error samples/Dutch.txt[15, 67]: Unknown word: onder -error -error samples/Dutch.txt[16, 4]: Unknown word: onderstaande -error -error samples/Dutch.txt[16, 18]: Unknown word: liberale -error -error samples/Dutch.txt[16, 27]: Unknown word: licenties -error -error samples/Dutch.txt[16, 37]: Unknown word: naar -error -error samples/Dutch.txt[16, 42]: Unknown word: keuze -error -error samples/Dutch.txt[16, 55]: Unknown word: gebruiker -error -error samples/Dutch.txt[16, 68]: Unknown word: wordt -error -error samples/Dutch.txt[17, 4]: Unknown word: zeerste -error -error samples/Dutch.txt[17, 12]: Unknown word: aangeraden -error -error samples/Dutch.txt[17, 26]: Unknown word: voorafgaand -error -error samples/Dutch.txt[17, 46]: Unknown word: gebruik -error -error samples/Dutch.txt[17, 54]: Unknown word: kennis -error -error samples/Dutch.txt[17, 64]: Unknown word: nemen -error -error samples/Dutch.txt[18, 4]: Unknown word: toepasselijke -error -error samples/Dutch.txt[18, 18]: Unknown word: licentie -error -error samples/Dutch.txt[19, 12]: Unknown word: herziene -error -error samples/Dutch.txt[19, 21]: Unknown word: versie -error -error samples/Dutch.txt[20, 6]: Unknown word: Volledige -error -error samples/Dutch.txt[20, 16]: Unknown word: licentie -error -error samples/Dutch.txt[21, 6]: Unknown word: Samenvatting -error -error samples/Dutch.txt[22, 25]: Unknown word: Naamsvermelding -error -error samples/Dutch.txt[22, 46]: Unknown word: unported -error -error samples/Dutch.txt[23, 6]: Unknown word: Volledige -error -error samples/Dutch.txt[23, 16]: Unknown word: licentie -error -error samples/Dutch.txt[24, 6]: Unknown word: Samenvatting -error -error samples/Dutch.txt[25, 4]: Unknown word: Steun -error -error samples/Dutch.txt[25, 36]: Unknown word: vrijwilligersproject -error -error samples/Dutch.txt[25, 57]: Unknown word: zonder -error -error samples/Dutch.txt[25, 64]: Unknown word: winstoogmerk -error -error samples/Dutch.txt[26, 13]: Unknown word: kleine -error -error samples/Dutch.txt[26, 21]: Unknown word: financiële -error -error samples/Dutch.txt[26, 32]: Unknown word: steun -error -error samples/Dutch.txt[26, 51]: Unknown word: meer -error -error samples/Dutch.txt[26, 56]: Unknown word: activiteiten -error -error samples/Dutch.txt[26, 69]: Unknown word: ontplooien -error -error samples/Dutch.txt[27, 19]: Unknown word: professionaliseren -error -error samples/Dutch.txt[27, 42]: Unknown word: donatie -error -error samples/Dutch.txt[27, 63]: Unknown word: welkom -error -error samples/Dutch.txt[28, 4]: Unknown word: rekeningnummer -error -error samples/Dutch.txt[28, 39]: Unknown word: Stichting -error -error samples/Dutch.txt[28, 62]: Unknown word: giften -error -error samples/Dutch.txt[28, 69]: Unknown word: zijn -error -error samples/Dutch.txt[29, 4]: Unknown word: aftrekbaar -error -error samples/Dutch.txt[29, 22]: Unknown word: belasting -error -error samples/Dutch.txt[29, 33]: Unknown word: Stichting -error -error samples/Dutch.txt[29, 55]: Unknown word: namelijk -error -error samples/Dutch.txt[30, 4]: Unknown word: Belastingdienst -error -error samples/Dutch.txt[30, 20]: Unknown word: erkend -error -error samples/Dutch.txt[30, 31]: Unknown word: ANBI -error -error samples/Dutch.txt[30, 37]: Unknown word: oftewel -error -error samples/Dutch.txt[30, 46]: Unknown word: Algemeen -error -error samples/Dutch.txt[30, 59]: Unknown word: Beogende -error -error samples/Dutch.txt[30, 68]: Unknown word: Instelling -error -error samples/Dutch.txt[32, 4]: Unknown word: Meedoen -error -error samples/Dutch.txt[32, 13]: Unknown word: Iedereen -error -error samples/Dutch.txt[32, 25]: Unknown word: welkom -error -error samples/Dutch.txt[32, 42]: Unknown word: doen -error -error samples/Dutch.txt[32, 53]: Unknown word: fouten -error -error samples/Dutch.txt[32, 61]: Unknown word: discussieer -error -error samples/Dutch.txt[33, 7]: Unknown word: mailinglijst -error -error samples/Dutch.txt[33, 23]: Unknown word: draai -error -error samples/Dutch.txt[33, 52]: Unknown word: dragen -error -error samples/Dutch.txt[33, 75]: Unknown word: stemt -error -error samples/Dutch.txt[34, 6]: Unknown word: ermee -error -error samples/Dutch.txt[34, 22]: Unknown word: bijdrage -error -error samples/Dutch.txt[34, 39]: Unknown word: desbetreffende -error -error samples/Dutch.txt[34, 54]: Unknown word: taalhulpbestand -error -error samples/Dutch.txt[34, 70]: Unknown word: beschikbaar -error -error samples/Dutch.txt[35, 4]: Unknown word: komt -error -error samples/Dutch.txt[35, 9]: Unknown word: onder -error -error samples/Dutch.txt[35, 15]: Unknown word: vrije -error -error samples/Dutch.txt[35, 27]: Unknown word: opensource -error -error samples/Dutch.txt[35, 38]: Unknown word: licenties -error -error samples/Dutch.txt[35, 49]: Unknown word: Indien -error -error samples/Dutch.txt[35, 62]: Unknown word: wenst -error -error samples/Dutch.txt[36, 4]: Unknown word: naam -error -error samples/Dutch.txt[36, 23]: Unknown word: genoemd -error -error samples/Dutch.txt[36, 31]: Unknown word: worden -error -error samples/Dutch.txt[36, 42]: Unknown word: ontvangen -error -error samples/Dutch.txt[36, 55]: Unknown word: schriftelijk -error -error samples/Dutch.txt[36, 68]: Unknown word: verzoek -error -error samples/Dutch.txt[37, 4]: Unknown word: daarvoor -error -error samples/Dutch.txt[37, 13]: Unknown word: graag -error -error samples/Dutch.txt[38, 4]: Unknown word: Rechten -error -error samples/Dutch.txt[38, 16]: Unknown word: derden -error -error samples/Dutch.txt[38, 33]: Unknown word: respecteert -error -error samples/Dutch.txt[38, 48]: Unknown word: rechten -error -error samples/Dutch.txt[38, 60]: Unknown word: derden -error -error samples/Dutch.txt[39, 13]: Unknown word: gegevens -error -error samples/Dutch.txt[39, 22]: Unknown word: vrij -error -error samples/Dutch.txt[39, 27]: Unknown word: beschikbaar -error -error samples/Dutch.txt[39, 39]: Unknown word: houden -error -error samples/Dutch.txt[39, 47]: Unknown word: Voor -error -error samples/Dutch.txt[39, 52]: Unknown word: bijdragen -error -error samples/Dutch.txt[40, 6]: Unknown word: daarom -error -error samples/Dutch.txt[40, 13]: Unknown word: niet -error -error samples/Dutch.txt[40, 18]: Unknown word: zonder -error -error samples/Dutch.txt[40, 25]: Unknown word: toestemming -error -error samples/Dutch.txt[40, 37]: Unknown word: gebruikmaken -error -error samples/Dutch.txt[40, 54]: Unknown word: beschermde -error -error samples/Dutch.txt[40, 65]: Unknown word: naslagwerken -error -error samples/Dutch.txt[41, 4]: Unknown word: zoals -error -error samples/Dutch.txt[41, 10]: Unknown word: woordenboeken -error -error samples/Dutch.txt[41, 36]: Unknown word: toegestaan -error -error samples/Dutch.txt[41, 50]: Unknown word: gebruik -error -error samples/Dutch.txt[41, 61]: Unknown word: maken -error -error samples/Dutch.txt[42, 4]: Unknown word: materialen -error -error samples/Dutch.txt[42, 22]: Unknown word: Nederlandse -error -error samples/Dutch.txt[42, 34]: Unknown word: Taalunie -error -error samples/Dutch.txt[42, 44]: Unknown word: zoals -error -error samples/Dutch.txt[42, 53]: Unknown word: leidraad -error -error samples/Dutch.txt[42, 68]: Unknown word: woordenlijst -error -error samples/Dutch.txt[43, 4]: Unknown word: Indien -error -error samples/Dutch.txt[43, 17]: Unknown word: mening -error -error samples/Dutch.txt[43, 42]: Unknown word: inbreuk -error -error samples/Dutch.txt[43, 50]: Unknown word: maakt -error -error samples/Dutch.txt[43, 62]: Unknown word: rechten -error -error samples/Dutch.txt[44, 4]: Unknown word: verzoeken -error -error samples/Dutch.txt[44, 19]: Unknown word: hierover -error -error samples/Dutch.txt[44, 31]: Unknown word: spoedig -error -error samples/Dutch.txt[44, 39]: Unknown word: mogelijk -error -error samples/Dutch.txt[44, 48]: Unknown word: schriftelijk -error -error samples/Dutch.txt[45, 7]: Unknown word: nemen -error -error samples/Dutch.txt[46, 13]: Unknown word: Stichting -error -error samples/Dutch.txt[59, 56]: Unknown word: Brouwer -error -error samples/Dutch.txt[60, 11]: Unknown word: Nederlandstalige -error -error samples/Dutch.txt[60, 32]: Unknown word: Gebruikersgroep -error -error samples/Dutch.txt[68, 42]: Unknown word: unported -error -error samples/Dutch.txt[74, 39]: Unknown word: RABONL -error -error samples/Dutch.txt[74, 49]: Unknown word: IBAN -error -error samples/Dutch.txt[74, 59]: Unknown word: RABO -error -error samples/Dutch.txt[75, 4]: Unknown word: Stichting -error -error samples/Dutch.txt[77, 58]: Unknown word: algemeen -error -error samples/Dutch.txt[77, 71]: Unknown word: beogende -error -error samples/Dutch.txt[78, 4]: Unknown word: instelling -error -error samples/Dutch.txt[78, 18]: Unknown word: ANBI -error -error CSpell: Files checked: 1, Issues found: 189 in 1 file. -error" -`; - -exports[`Validate cli > app 'with spelling errors Dutch.txt --legacy' Expect Error: [Function CheckFailed] 3`] = `""`; - -exports[`Validate cli > app 'with spelling errors Dutch.txt words only' Expect Error: [Function CheckFailed] 1`] = `[]`; - -exports[`Validate cli > app 'with spelling errors Dutch.txt words only' Expect Error: [Function CheckFailed] 2`] = ` -"error 1/1 samples/Dutch.txt 0.00ms X +error CSpell: Files checked: 1, Issues found: 189 in 1 file. +error" +`; + +exports[`Validate cli > app 'with spelling errors Dutch.txt --legacy' Expect Error: [Function CheckFailed] 3`] = `""`; + +exports[`Validate cli > app 'with spelling errors Dutch.txt words only' Expect Error: [Function CheckFailed] 1`] = `[]`; + +exports[`Validate cli > app 'with spelling errors Dutch.txt words only' Expect Error: [Function CheckFailed] 2`] = ` +"error 1/1 samples/Dutch.txt 0.00ms X error log NEDERLANDS log @@ -3760,452 +2942,70 @@ log woordenboeken log log toegestaan log -log gebruik -log -log maken -log -log materialen -log -log Nederlandse -log -log Taalunie -log -log zoals -log -log leidraad -log -log woordenlijst -log -log Indien -log -log mening -log -log inbreuk -log -log maakt -log -log rechten -log -log verzoeken -log -log hierover -log -log spoedig -log -log mogelijk -log -log schriftelijk -log -log nemen -log -log Stichting -log -log Brouwer -log -log Nederlandstalige -log -log Gebruikersgroep -log -log unported -log -log RABONL -log -log IBAN -log -log RABO -log -log Stichting -log -log algemeen -log -log beogende -log -log instelling -log -log ANBI -log -error ------------------------------------------- -error -error Issues found: -error -error NEDERLANDS -error -error wordt -error -error vriendelijk -error -error verzocht -error -error bestand -error -error lezen -error -error leveren -error -error iedere -error -error kopie -error -error taalhulpbestand -error -error Naam -error -error Nederlandstalige -error -error woordenlijst -error -error voor -error -error spellingcontrole -error -error Versie -error -error woordenlijst -error -error versie -error -error spellingcontrole -error -error Vereisten -error -error hoger -error -error Keurmerk -error -error Nederlandse -error -error Taalunie -error -error lijst -error -error basiswoorden -error -error draagt -error -error keurmerk -error -error Nederlandse -error -error Taalunie -error -error Voor -error -error meer -error -error informatie -error -error Auteursrechten -error -error Brouwer -error -error Nederlandstalige -error -error Gebruikersgroep -error -error Licenties -error -error heeft -error -error doel -error -error vrij -error -error beschikbare -error -error Nederlandstalige -error -error taalhulpbestanden -error -error ontwikkelen -error -error verspreiden -error -error gebruik -error -error mogelijk -error -error maken -error -error zijn -error -error taalhulpbestanden -error -error beschikbaar -error -error onder -error -error onderstaande -error -error liberale -error -error licenties -error -error naar -error -error keuze -error -error gebruiker -error -error wordt -error -error zeerste -error -error aangeraden -error -error voorafgaand -error -error gebruik -error -error kennis -error -error nemen -error -error toepasselijke -error -error licentie -error -error herziene -error -error versie -error -error Volledige -error -error licentie -error -error Samenvatting -error -error Naamsvermelding -error -error unported -error -error Volledige -error -error licentie -error -error Samenvatting -error -error Steun -error -error vrijwilligersproject -error -error zonder -error -error winstoogmerk -error -error kleine -error -error financiële -error -error steun -error -error meer -error -error activiteiten -error -error ontplooien -error -error professionaliseren -error -error donatie -error -error welkom -error -error rekeningnummer -error -error Stichting -error -error giften -error -error zijn -error -error aftrekbaar -error -error belasting -error -error Stichting -error -error namelijk -error -error Belastingdienst -error -error erkend -error -error ANBI -error -error oftewel -error -error Algemeen -error -error Beogende -error -error Instelling -error -error Meedoen -error -error Iedereen -error -error welkom -error -error doen -error -error fouten -error -error discussieer -error -error mailinglijst -error -error draai -error -error dragen -error -error stemt -error -error ermee -error -error bijdrage -error -error desbetreffende -error -error taalhulpbestand -error -error beschikbaar -error -error komt -error -error onder -error -error vrije -error -error opensource -error -error licenties -error -error Indien -error -error wenst -error -error naam -error -error genoemd -error -error worden -error -error ontvangen -error -error schriftelijk -error -error verzoek -error -error daarvoor -error -error graag -error -error Rechten -error -error derden -error -error respecteert -error -error rechten -error -error derden -error -error gegevens -error -error vrij -error -error beschikbaar -error -error houden -error -error Voor -error -error bijdragen -error -error daarom -error -error niet -error -error zonder -error -error toestemming -error -error gebruikmaken -error -error beschermde -error -error naslagwerken -error -error zoals -error -error woordenboeken -error -error toegestaan -error -error gebruik -error -error maken -error -error materialen -error -error Nederlandse -error -error Taalunie -error -error zoals -error -error leidraad -error -error woordenlijst -error -error Indien -error -error mening -error -error inbreuk -error -error maakt -error -error rechten -error -error verzoeken -error -error hierover -error -error spoedig -error -error mogelijk -error -error schriftelijk -error -error nemen -error -error Stichting -error -error Brouwer -error -error Nederlandstalige -error -error Gebruikersgroep -error -error unported -error -error RABONL -error -error IBAN -error -error RABO -error -error Stichting -error -error algemeen -error -error beogende -error -error instelling -error -error ANBI -error +log gebruik +log +log maken +log +log materialen +log +log Nederlandse +log +log Taalunie +log +log zoals +log +log leidraad +log +log woordenlijst +log +log Indien +log +log mening +log +log inbreuk +log +log maakt +log +log rechten +log +log verzoeken +log +log hierover +log +log spoedig +log +log mogelijk +log +log schriftelijk +log +log nemen +log +log Stichting +log +log Brouwer +log +log Nederlandstalige +log +log Gebruikersgroep +log +log unported +log +log RABONL +log +log IBAN +log +log RABO +log +log Stichting +log +log algemeen +log +log beogende +log +log instelling +log +log ANBI +log error CSpell: Files checked: 1, Issues found: 189 in 1 file. error" `; @@ -4595,388 +3395,6 @@ log samples/Dutch.txt:78:4 - Unknown word (instelling) log log samples/Dutch.txt:78:18 - Unknown word (ANBI) log -error ------------------------------------------- -error -error Issues found: -error -error samples/Dutch.txt:1:32 - Unknown word (NEDERLANDS) -error -error samples/Dutch.txt:2:11 - Unknown word (wordt) -error -error samples/Dutch.txt:2:17 - Unknown word (vriendelijk) -error -error samples/Dutch.txt:2:29 - Unknown word (verzocht) -error -error samples/Dutch.txt:2:45 - Unknown word (bestand) -error -error samples/Dutch.txt:3:10 - Unknown word (lezen) -error -error samples/Dutch.txt:3:26 - Unknown word (leveren) -error -error samples/Dutch.txt:3:38 - Unknown word (iedere) -error -error samples/Dutch.txt:3:45 - Unknown word (kopie) -error -error samples/Dutch.txt:3:59 - Unknown word (taalhulpbestand) -error -error samples/Dutch.txt:5:4 - Unknown word (Naam) -error -error samples/Dutch.txt:5:10 - Unknown word (Nederlandstalige) -error -error samples/Dutch.txt:5:27 - Unknown word (woordenlijst) -error -error samples/Dutch.txt:5:40 - Unknown word (voor) -error -error samples/Dutch.txt:5:45 - Unknown word (spellingcontrole) -error -error samples/Dutch.txt:6:4 - Unknown word (Versie) -error -error samples/Dutch.txt:6:11 - Unknown word (woordenlijst) -error -error samples/Dutch.txt:6:32 - Unknown word (versie) -error -error samples/Dutch.txt:6:39 - Unknown word (spellingcontrole) -error -error samples/Dutch.txt:7:4 - Unknown word (Vereisten) -error -error samples/Dutch.txt:7:33 - Unknown word (hoger) -error -error samples/Dutch.txt:8:4 - Unknown word (Keurmerk) -error -error samples/Dutch.txt:8:22 - Unknown word (Nederlandse) -error -error samples/Dutch.txt:8:34 - Unknown word (Taalunie) -error -error samples/Dutch.txt:8:47 - Unknown word (lijst) -error -error samples/Dutch.txt:8:57 - Unknown word (basiswoorden) -error -error samples/Dutch.txt:9:13 - Unknown word (draagt) -error -error samples/Dutch.txt:9:24 - Unknown word (keurmerk) -error -error samples/Dutch.txt:9:40 - Unknown word (Nederlandse) -error -error samples/Dutch.txt:9:52 - Unknown word (Taalunie) -error -error samples/Dutch.txt:9:62 - Unknown word (Voor) -error -error samples/Dutch.txt:9:67 - Unknown word (meer) -error -error samples/Dutch.txt:10:4 - Unknown word (informatie) -error -error samples/Dutch.txt:11:4 - Unknown word (Auteursrechten) -error -error samples/Dutch.txt:11:60 - Unknown word (Brouwer) -error -error samples/Dutch.txt:12:11 - Unknown word (Nederlandstalige) -error -error samples/Dutch.txt:12:32 - Unknown word (Gebruikersgroep) -error -error samples/Dutch.txt:13:4 - Unknown word (Licenties) -error -error samples/Dutch.txt:13:24 - Unknown word (heeft) -error -error samples/Dutch.txt:13:34 - Unknown word (doel) -error -error samples/Dutch.txt:13:42 - Unknown word (vrij) -error -error samples/Dutch.txt:13:47 - Unknown word (beschikbare) -error -error samples/Dutch.txt:13:59 - Unknown word (Nederlandstalige) -error -error samples/Dutch.txt:14:4 - Unknown word (taalhulpbestanden) -error -error samples/Dutch.txt:14:25 - Unknown word (ontwikkelen) -error -error samples/Dutch.txt:14:43 - Unknown word (verspreiden) -error -error samples/Dutch.txt:14:70 - Unknown word (gebruik) -error -error samples/Dutch.txt:15:4 - Unknown word (mogelijk) -error -error samples/Dutch.txt:15:16 - Unknown word (maken) -error -error samples/Dutch.txt:15:22 - Unknown word (zijn) -error -error samples/Dutch.txt:15:30 - Unknown word (taalhulpbestanden) -error -error samples/Dutch.txt:15:55 - Unknown word (beschikbaar) -error -error samples/Dutch.txt:15:67 - Unknown word (onder) -error -error samples/Dutch.txt:16:4 - Unknown word (onderstaande) -error -error samples/Dutch.txt:16:18 - Unknown word (liberale) -error -error samples/Dutch.txt:16:27 - Unknown word (licenties) -error -error samples/Dutch.txt:16:37 - Unknown word (naar) -error -error samples/Dutch.txt:16:42 - Unknown word (keuze) -error -error samples/Dutch.txt:16:55 - Unknown word (gebruiker) -error -error samples/Dutch.txt:16:68 - Unknown word (wordt) -error -error samples/Dutch.txt:17:4 - Unknown word (zeerste) -error -error samples/Dutch.txt:17:12 - Unknown word (aangeraden) -error -error samples/Dutch.txt:17:26 - Unknown word (voorafgaand) -error -error samples/Dutch.txt:17:46 - Unknown word (gebruik) -error -error samples/Dutch.txt:17:54 - Unknown word (kennis) -error -error samples/Dutch.txt:17:64 - Unknown word (nemen) -error -error samples/Dutch.txt:18:4 - Unknown word (toepasselijke) -error -error samples/Dutch.txt:18:18 - Unknown word (licentie) -error -error samples/Dutch.txt:19:12 - Unknown word (herziene) -error -error samples/Dutch.txt:19:21 - Unknown word (versie) -error -error samples/Dutch.txt:20:6 - Unknown word (Volledige) -error -error samples/Dutch.txt:20:16 - Unknown word (licentie) -error -error samples/Dutch.txt:21:6 - Unknown word (Samenvatting) -error -error samples/Dutch.txt:22:25 - Unknown word (Naamsvermelding) -error -error samples/Dutch.txt:22:46 - Unknown word (unported) -error -error samples/Dutch.txt:23:6 - Unknown word (Volledige) -error -error samples/Dutch.txt:23:16 - Unknown word (licentie) -error -error samples/Dutch.txt:24:6 - Unknown word (Samenvatting) -error -error samples/Dutch.txt:25:4 - Unknown word (Steun) -error -error samples/Dutch.txt:25:36 - Unknown word (vrijwilligersproject) -error -error samples/Dutch.txt:25:57 - Unknown word (zonder) -error -error samples/Dutch.txt:25:64 - Unknown word (winstoogmerk) -error -error samples/Dutch.txt:26:13 - Unknown word (kleine) -error -error samples/Dutch.txt:26:21 - Unknown word (financiële) -error -error samples/Dutch.txt:26:32 - Unknown word (steun) -error -error samples/Dutch.txt:26:51 - Unknown word (meer) -error -error samples/Dutch.txt:26:56 - Unknown word (activiteiten) -error -error samples/Dutch.txt:26:69 - Unknown word (ontplooien) -error -error samples/Dutch.txt:27:19 - Unknown word (professionaliseren) -error -error samples/Dutch.txt:27:42 - Unknown word (donatie) -error -error samples/Dutch.txt:27:63 - Unknown word (welkom) -error -error samples/Dutch.txt:28:4 - Unknown word (rekeningnummer) -error -error samples/Dutch.txt:28:39 - Unknown word (Stichting) -error -error samples/Dutch.txt:28:62 - Unknown word (giften) -error -error samples/Dutch.txt:28:69 - Unknown word (zijn) -error -error samples/Dutch.txt:29:4 - Unknown word (aftrekbaar) -error -error samples/Dutch.txt:29:22 - Unknown word (belasting) -error -error samples/Dutch.txt:29:33 - Unknown word (Stichting) -error -error samples/Dutch.txt:29:55 - Unknown word (namelijk) -error -error samples/Dutch.txt:30:4 - Unknown word (Belastingdienst) -error -error samples/Dutch.txt:30:20 - Unknown word (erkend) -error -error samples/Dutch.txt:30:31 - Unknown word (ANBI) -error -error samples/Dutch.txt:30:37 - Unknown word (oftewel) -error -error samples/Dutch.txt:30:46 - Unknown word (Algemeen) -error -error samples/Dutch.txt:30:59 - Unknown word (Beogende) -error -error samples/Dutch.txt:30:68 - Unknown word (Instelling) -error -error samples/Dutch.txt:32:4 - Unknown word (Meedoen) -error -error samples/Dutch.txt:32:13 - Unknown word (Iedereen) -error -error samples/Dutch.txt:32:25 - Unknown word (welkom) -error -error samples/Dutch.txt:32:42 - Unknown word (doen) -error -error samples/Dutch.txt:32:53 - Unknown word (fouten) -error -error samples/Dutch.txt:32:61 - Unknown word (discussieer) -error -error samples/Dutch.txt:33:7 - Unknown word (mailinglijst) -error -error samples/Dutch.txt:33:23 - Unknown word (draai) -error -error samples/Dutch.txt:33:52 - Unknown word (dragen) -error -error samples/Dutch.txt:33:75 - Unknown word (stemt) -error -error samples/Dutch.txt:34:6 - Unknown word (ermee) -error -error samples/Dutch.txt:34:22 - Unknown word (bijdrage) -error -error samples/Dutch.txt:34:39 - Unknown word (desbetreffende) -error -error samples/Dutch.txt:34:54 - Unknown word (taalhulpbestand) -error -error samples/Dutch.txt:34:70 - Unknown word (beschikbaar) -error -error samples/Dutch.txt:35:4 - Unknown word (komt) -error -error samples/Dutch.txt:35:9 - Unknown word (onder) -error -error samples/Dutch.txt:35:15 - Unknown word (vrije) -error -error samples/Dutch.txt:35:27 - Unknown word (opensource) -error -error samples/Dutch.txt:35:38 - Unknown word (licenties) -error -error samples/Dutch.txt:35:49 - Unknown word (Indien) -error -error samples/Dutch.txt:35:62 - Unknown word (wenst) -error -error samples/Dutch.txt:36:4 - Unknown word (naam) -error -error samples/Dutch.txt:36:23 - Unknown word (genoemd) -error -error samples/Dutch.txt:36:31 - Unknown word (worden) -error -error samples/Dutch.txt:36:42 - Unknown word (ontvangen) -error -error samples/Dutch.txt:36:55 - Unknown word (schriftelijk) -error -error samples/Dutch.txt:36:68 - Unknown word (verzoek) -error -error samples/Dutch.txt:37:4 - Unknown word (daarvoor) -error -error samples/Dutch.txt:37:13 - Unknown word (graag) -error -error samples/Dutch.txt:38:4 - Unknown word (Rechten) -error -error samples/Dutch.txt:38:16 - Unknown word (derden) -error -error samples/Dutch.txt:38:33 - Unknown word (respecteert) -error -error samples/Dutch.txt:38:48 - Unknown word (rechten) -error -error samples/Dutch.txt:38:60 - Unknown word (derden) -error -error samples/Dutch.txt:39:13 - Unknown word (gegevens) -error -error samples/Dutch.txt:39:22 - Unknown word (vrij) -error -error samples/Dutch.txt:39:27 - Unknown word (beschikbaar) -error -error samples/Dutch.txt:39:39 - Unknown word (houden) -error -error samples/Dutch.txt:39:47 - Unknown word (Voor) -error -error samples/Dutch.txt:39:52 - Unknown word (bijdragen) -error -error samples/Dutch.txt:40:6 - Unknown word (daarom) -error -error samples/Dutch.txt:40:13 - Unknown word (niet) -error -error samples/Dutch.txt:40:18 - Unknown word (zonder) -error -error samples/Dutch.txt:40:25 - Unknown word (toestemming) -error -error samples/Dutch.txt:40:37 - Unknown word (gebruikmaken) -error -error samples/Dutch.txt:40:54 - Unknown word (beschermde) -error -error samples/Dutch.txt:40:65 - Unknown word (naslagwerken) -error -error samples/Dutch.txt:41:4 - Unknown word (zoals) -error -error samples/Dutch.txt:41:10 - Unknown word (woordenboeken) -error -error samples/Dutch.txt:41:36 - Unknown word (toegestaan) -error -error samples/Dutch.txt:41:50 - Unknown word (gebruik) -error -error samples/Dutch.txt:41:61 - Unknown word (maken) -error -error samples/Dutch.txt:42:4 - Unknown word (materialen) -error -error samples/Dutch.txt:42:22 - Unknown word (Nederlandse) -error -error samples/Dutch.txt:42:34 - Unknown word (Taalunie) -error -error samples/Dutch.txt:42:44 - Unknown word (zoals) -error -error samples/Dutch.txt:42:53 - Unknown word (leidraad) -error -error samples/Dutch.txt:42:68 - Unknown word (woordenlijst) -error -error samples/Dutch.txt:43:4 - Unknown word (Indien) -error -error samples/Dutch.txt:43:17 - Unknown word (mening) -error -error samples/Dutch.txt:43:42 - Unknown word (inbreuk) -error -error samples/Dutch.txt:43:50 - Unknown word (maakt) -error -error samples/Dutch.txt:43:62 - Unknown word (rechten) -error -error samples/Dutch.txt:44:4 - Unknown word (verzoeken) -error -error samples/Dutch.txt:44:19 - Unknown word (hierover) -error -error samples/Dutch.txt:44:31 - Unknown word (spoedig) -error -error samples/Dutch.txt:44:39 - Unknown word (mogelijk) -error -error samples/Dutch.txt:44:48 - Unknown word (schriftelijk) -error -error samples/Dutch.txt:45:7 - Unknown word (nemen) -error -error samples/Dutch.txt:46:13 - Unknown word (Stichting) -error -error samples/Dutch.txt:59:56 - Unknown word (Brouwer) -error -error samples/Dutch.txt:60:11 - Unknown word (Nederlandstalige) -error -error samples/Dutch.txt:60:32 - Unknown word (Gebruikersgroep) -error -error samples/Dutch.txt:68:42 - Unknown word (unported) -error -error samples/Dutch.txt:74:39 - Unknown word (RABONL) -error -error samples/Dutch.txt:74:49 - Unknown word (IBAN) -error -error samples/Dutch.txt:74:59 - Unknown word (RABO) -error -error samples/Dutch.txt:75:4 - Unknown word (Stichting) -error -error samples/Dutch.txt:77:58 - Unknown word (algemeen) -error -error samples/Dutch.txt:77:71 - Unknown word (beogende) -error -error samples/Dutch.txt:78:4 - Unknown word (instelling) -error -error samples/Dutch.txt:78:18 - Unknown word (ANBI) -error error CSpell: Files checked: 1, Issues found: 189 in 1 file. error" `; diff --git a/packages/cspell/src/app/cli-reporter.ts b/packages/cspell/src/app/cli-reporter.ts index d2f743fc386..37d64b39992 100644 --- a/packages/cspell/src/app/cli-reporter.ts +++ b/packages/cspell/src/app/cli-reporter.ts @@ -1,5 +1,5 @@ import assert from 'node:assert'; -import { format } from 'node:util'; +import { formatWithOptions } from 'node:util'; import type { Issue, @@ -73,7 +73,8 @@ interface IO extends Channel, IOChalk {} * @returns issueEmitter function */ function genIssueEmitter( - io: IO, + stdIO: IO, + errIO: IO, template: string, uniqueIssues: boolean, reportedIssuesCollection: string[] | undefined, @@ -90,9 +91,9 @@ function genIssueEmitter( uri = issue.uri; } maxWidth = Math.max(maxWidth * 0.999, issue.text.length, 10); - const issueText = formatIssue(io, template, issue, Math.ceil(maxWidth)); - reportedIssuesCollection?.push(issueText); - io.writeLine(issueText); + const issueText = formatIssue(stdIO, template, issue, Math.ceil(maxWidth)); + reportedIssuesCollection?.push(formatIssue(errIO, template, issue, Math.ceil(maxWidth))); + stdIO.writeLine(issueText); }; } @@ -254,14 +255,24 @@ export function getReporter(options: ReporterOptions, config?: CSpellReporterCon }; } - const issuesCollection: string[] | undefined = showProgress ? [] : undefined; + /* + * Turn off repeated issues see https://github.com/streetsidesoftware/cspell/pull/6058 + * We might want to add a CLI option later to turn this back on. + */ + const repeatIssues = false; + + const issuesCollection: string[] | undefined = showProgress && repeatIssues ? [] : undefined; const errorCollection: string[] | undefined = []; function errorEmitter(message: string, error: Error | SpellingDictionaryLoadError | ImportError) { if (isSpellingDictionaryLoadError(error)) { error = error.cause; } - const errorText = format(stderr.chalk.red(message), error.toString()); + const errorText = formatWithOptions( + { colors: stderr.stream.hasColors?.() }, + stderr.chalk.red(message), + error.toString(), + ); errorCollection?.push(errorText); consoleError(errorText); } @@ -349,7 +360,9 @@ export function getReporter(options: ReporterOptions, config?: CSpellReporterCon return { issue: relativeIssue( - silent || !issues ? nullEmitter : genIssueEmitter(stdio, issueTemplate, uniqueIssues, issuesCollection), + silent || !issues + ? nullEmitter + : genIssueEmitter(stdio, stderr, issueTemplate, uniqueIssues, issuesCollection), ), error: silent ? nullEmitter : errorEmitter, info: infoEmitter, diff --git a/packages/cspell/src/app/console.ts b/packages/cspell/src/app/console.ts index ca866a159ab..8a3021c6e4a 100644 --- a/packages/cspell/src/app/console.ts +++ b/packages/cspell/src/app/console.ts @@ -1,5 +1,5 @@ import type { WriteStream } from 'node:tty'; -import { format as utilFormat } from 'node:util'; +import { formatWithOptions } from 'node:util'; // eslint-disable-next-line @typescript-eslint/no-explicit-any type Log = (format?: any, ...params: any[]) => void; @@ -25,7 +25,8 @@ class ImplChannel implements Channel { write = (msg: string) => this.stream.write(msg); writeLine = (msg: string) => this.write(msg + '\n'); clearLine = (dir: -1 | 0 | 1, callback?: () => void) => this.stream.clearLine?.(dir, callback) ?? false; - printLine = (...params: unknown[]) => this.writeLine((params.length && utilFormat(...params)) || ''); + printLine = (...params: unknown[]) => + this.writeLine((params.length && formatWithOptions({ colors: this.stream.hasColors?.() }, ...params)) || ''); getColorLevel = () => getColorLevel(this.stream); }