File tree Expand file tree Collapse file tree 3 files changed +54
-0
lines changed Expand file tree Collapse file tree 3 files changed +54
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ $schema : https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json
3
+ version : ' 0.2'
4
+ language : en-GB
5
+ dictionaryDefinitions :
6
+ - name : project-words
7
+ path : ' ./.phpcs.dict'
8
+ addWords : true
9
+ dictionaries :
10
+ - project-words
11
+ ignorePaths :
12
+ - ' node_modules/**'
13
+ - ' /.phpcs.dict'
14
+ patterns :
15
+ - name : markdown_code_block
16
+ pattern : |
17
+ /
18
+ ^(\s*`{3,})[a-z]+ # match the ``` with a language modifier
19
+ [\s\S]*? # the block of code
20
+ ^\1 # end of the block
21
+ /gmx
22
+ - name : markdown_inline_code
23
+ pattern : |
24
+ /(\s*`)\S{3,}`/gmx
25
+ languageSettings :
26
+ - languageId : markdown
27
+ ignoreRegExpList :
28
+ - markdown_code_block
29
+ - markdown_inline_code
Original file line number Diff line number Diff line change 23
23
uses : PHPCSStandards/.github/.github/workflows/reusable-yamllint.yml@main
24
24
with :
25
25
strict : true
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"
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