-
Notifications
You must be signed in to change notification settings - Fork 0
/
cspell.yaml
65 lines (59 loc) · 1.62 KB
/
cspell.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
---
# Version of the setting file. Always 0.2
version: "0.2"
# language - current active spelling language
language: en_US
dictionaries:
- chef
- docs
- hab-docs
- client-dictionary
dictionaryDefinitions:
- name: chef
path: https://raw.githubusercontent.com/chef/chef_dictionary/main/chef.txt
description: Custom Chef Dictionary
- name: docs
path: https://raw.githubusercontent.com/chef/chef_dictionary/main/docs.txt
description: Custom Docs Dictionary
- name: hab-docs
path: https://raw.githubusercontent.com/chef/chef_dictionary/main/hab-docs.txt
description: Custom Habitat Docs Dictionary
- name: client-dictionary
path: tools/cspell/dictionary.txt
description: Custom Client Docs Dictionary
# flagWords - list of words to be always considered incorrect
# This is useful for offensive words and common spelling errors.
# For example "hte" should be "the"
flagWords:
- hte
ignorePaths:
- ".expeditor/**/*"
- "**/*.sh"
- "**/*.svg"
- "**/*.toml"
- "**/*.yml"
- archetypes/*.md
- _vendor/**/*
- cspell.yaml
- public/**
- node_modules/**
- /package*.json
- resources/**
- "*.work"
- "*.work.sum"
- dart-sass/**/*
- tools/**/*
- go.mod
- go.sum
- Makefile
# Ignore patterns list
# https://cspell.org/configuration/patterns/
ignoreRegExpList:
# ignore URLs with predefined pattern - https://github.com/streetsidesoftware/cspell/blob/main/packages/cspell-lib/src/lib/Settings/RegExpPatterns.ts#L3
- Urls
# ignore URLs in a Markdown link
- "\\]\\([\\w|/|#|\\.|_|\\-]+\\)"
- "/'s\\b/"
- "/'d\\b/"
- "/^\\s*```[\\s\\S]*?^\\s*```/gm"
- "{{(.+)(?=}})"