diff --git a/dictionaries/nl_NL/cspell-ext.json b/dictionaries/nl_NL/cspell-ext.json index be607ee395c..214656826cb 100644 --- a/dictionaries/nl_NL/cspell-ext.json +++ b/dictionaries/nl_NL/cspell-ext.json @@ -1,25 +1,3 @@ { - "id": "nl-nl", - "name": "Dutch (Netherlands) Dictionary", - "description": "Dutch (Netherlands) Dictionary", - "dictionaryDefinitions": [ - { - "name": "nl-nl", - "path": "./Dutch.trie.gz", - "description": "Dutch (Netherlands) Dictionary" - } - ], - "ignoreWords": ["A3-", "-A4"], - "languageSettings": [ - { - "languageId": "*", - "locale": "nl,nl-NL", - "caseSensitive": true, - "ignoreRegExpList": [], - "includeRegExpList": [], - "patterns": [], - "dictionaries": ["nl-nl"], - "dictionaryDefinitions": [] - } - ] + "import": ["./cspell.config.yaml"] } diff --git a/dictionaries/nl_NL/cspell.config.yaml b/dictionaries/nl_NL/cspell.config.yaml index 8a7d0a764f8..021af265446 100644 --- a/dictionaries/nl_NL/cspell.config.yaml +++ b/dictionaries/nl_NL/cspell.config.yaml @@ -1,6 +1,5 @@ --- id: nl-nl -language: nl name: Dutch (Netherlands) Dictionary description: Dutch (Netherlands) Dictionary dictionaryDefinitions: @@ -9,28 +8,22 @@ dictionaryDefinitions: description: Dutch (Netherlands) Dictionary dictionaryInformation: locale: "nl-NL" - # cspell: ignore Zëqïéèöêüçàûîñäô + # cspell:ignore Zëqïéèöêüçàûîñäô alphabet: a-zA-Zëqïéèöêüçàûîñäô suggestionEditCosts: - - map: o(oo)|e(ee)|u(uu)|a(aa)|(ei)(ie)|(ou)(ui) - replace: 5 - hunspellInformation: - aff: | - # cspell:ignoreRegExp /(TRY|MAP|REP|KEY)\s.*/g - TRY ernitsaoldgkupmchbvjwfzyx'’ëqïéèö.êüçàûîñäôERNITSAOLDGKUPMCHBVJWFZYX - # combined layout for BE and NL keyboards NL en BE - KEY qwertyuiop|asdfghjkl|zxcvbnm|qawsedrftgyhujikolp|azsxdcfvgbhnjmk|aze|qsd|lm|wx|aqz|qws| - NO-TRY -123456789 - - MAP eéèëê - MAP aáà - MAP iíìïî - MAP oóòöô - MAP uüúùû - - REP e ee - REP ee e - REP o oo + - map: o(oo)|e(ee)|u(uu)|a(aa)|(ei)(ie)|(ou)(ui)|(ei)(ij)(ij) + replace: 50 + - map: s(ss)|e(en)|n(nen) + replace: 75 + # cspell:ignore eéèëê iíìïî oóòöô uüúùû + - map: MAP eéèëê|aáà|iíìïî|oóòöô|uüúùû|(ij)(ij)(IJ)(IJ) + replace: 1 + # cspell:ignore eque oire oors + - map: (er)(ër)|(kju)(cue)|(oren)(oors)|(eck)(eque)|(ore)(oire)|(oor)(oir)|ü(ue) + replace: 75 + - map: (en)(nen)(s) + description: Words are compounded in plural form + insDel: 90 ignoreWords: - A3- diff --git a/package.json b/package.json index d23a0844f1c..43598a528af 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "private": true, "scripts": { "test": "lerna run test", - "lint": "yarn run lint-format && cspell", + "lint": "yarn run lint-format && cspell --no-progress", "lint-ci": "eslint . && prettier -c \"**/*.{md,json,yml,yaml}\" && cspell", "lint-format": "eslint --fix . && prettier -w \"**/*.{md,json,yml,yaml}\"", "build": "lerna run --concurrency 2 --stream build --no-bail",