| 1 | # yaml-language-server: $schema=https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json |
| 2 | |
| 3 | $schema: https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json |
| 4 | |
| 5 | dictionaryDefinitions: |
| 6 | - name: code-terms |
| 7 | path: ./code-terms.txt |
| 8 | description: A list of coding related terms. |
| 9 | addWords: true |
| 10 | - name: mermaid-terms |
| 11 | path: ./mermaid-terms.txt |
| 12 | description: A list of terms related to the mermaid project. |
| 13 | addWords: true |
| 14 | - name: misc-terms |
| 15 | path: ./misc-terms.txt |
| 16 | description: A list of miscellaneous terms. |
| 17 | - name: 3rd-party-terms |
| 18 | path: ./libraries.txt |
| 19 | description: A list of 3rd party terms from dependencies. |
| 20 | addWords: true |
| 21 | - name: contributors |
| 22 | path: ./contributors.txt |
| 23 | description: A list of contributors to the mermaid project. |
| 24 | type: 'W' |
| 25 | addWords: true |
| 26 | |
| 27 | # cspell:disable |
| 28 | - name: suggestions |
| 29 | words: |
| 30 | - none |
| 31 | - disp |
| 32 | - subproc |
| 33 | - tria |
| 34 | suggestWords: |
| 35 | - seperator:separator |
| 36 | - vertice:vertex |
| 37 | # cspell:enable |
| 38 | |
| 39 | patterns: |
| 40 | - name: character-set-cyrillic |
| 41 | pattern: '/\p{Script_Extensions=Cyrillic}+/gu' |
| 42 | - name: svg-block |
| 43 | pattern: '<svg[\S\s]+?</svg>' |
| 44 | - name: json-property |
| 45 | pattern: '/"[\w/@-]+":/g' |
| 46 | |
| 47 | dictionaries: |
| 48 | - mermaid-terms |
| 49 | - suggestions |
| 50 | - contributors |
| 51 | |
| 52 | ignorePaths: |
| 53 | - '*.txt' # do not spell check local dictionaries |
| 54 | |
| 55 | # cspell:dictionary misc-terms |
| 56 | |