File tree Expand file tree Collapse file tree 3 files changed +57
-0
lines changed Expand file tree Collapse file tree 3 files changed +57
-0
lines changed Original file line number Diff line number Diff line change
1
+ $schema : https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json
2
+ version : ' 0.2'
3
+ language : en-GB
4
+
5
+ dictionaryDefinitions :
6
+ - name : project-words
7
+ path : ' ./.phpcs.dict'
8
+ addWords : true
9
+
10
+ dictionaries :
11
+ - project-words
12
+
13
+ ignorePaths :
14
+ - ' node_modules/**'
15
+ - ' /.phpcs.dict'
16
+
17
+ patterns :
18
+ - name : markdown_code_block
19
+ pattern : |
20
+ /
21
+ ^(\s*`{3,})[a-z]+ # match the ``` with a language modifier
22
+ [\s\S]*? # the block of code
23
+ ^\1 # end of the block
24
+ /gmx
25
+ - name : markdown_inline_code
26
+ pattern : /(\s*`)\S{3,}`/gmx
27
+
28
+ languageSettings :
29
+ - languageId : markdown
30
+ ignoreRegExpList :
31
+ - markdown_code_block
32
+ - markdown_inline_code
Original file line number Diff line number Diff line change 24
24
with :
25
25
strict : true
26
26
27
+ spellcheck :
28
+ name : Spellcheck
29
+
30
+ runs-on : ubuntu-latest
31
+
32
+ steps :
33
+ - name : Checkout code
34
+ uses : actions/checkout@v4
35
+
36
+ - name : Install markdown-spellcheck
37
+ run : npm install -g cspell
38
+
39
+ - name : Spellcheck
40
+ run : cspell --show-suggestions --show-context "**/*.md"
41
+
27
42
linkcheck :
28
43
name : " Check links"
29
44
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change
1
+ PHP_CodeSniffer
2
+ phpcs
3
+ phpcbf
4
+ SquizLabs
5
+ Squiz
6
+ Joomla
7
+ csslint
8
+ gjslint
9
+ gitblame
10
+ PHPUnit
You can’t perform that action at this time.
0 commit comments