Skip to content

Commit f83445c

Browse files
committed
style(cspell): Fix cspell spelling
1 parent 8739103 commit f83445c

File tree

2 files changed

+42
-3
lines changed

2 files changed

+42
-3
lines changed

.cspell.json

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
// Version of the setting file. Always 0.2
3+
"version": "0.2",
4+
// language - current active spelling language
5+
"language": "en-US",
6+
"ignorePaths": [
7+
"composer.*",
8+
"tests",
9+
"vendor"
10+
],
11+
"dictionaries": [
12+
"dictionary",
13+
"drupal",
14+
"companies",
15+
"fonts",
16+
"html",
17+
"php",
18+
"softwareTerms"
19+
],
20+
// words - list of words to be always considered correct
21+
"words": [
22+
"autoloader",
23+
"codesniffer",
24+
"Komodo",
25+
"Netbeans",
26+
"phpcbf",
27+
"ruleset",
28+
"squizlabs",
29+
"Squiz"
30+
],
31+
// flagWords - list of words to be always considered incorrect
32+
// This is useful for offensive words and common spelling errors.
33+
// For example "hte" should be "the"
34+
"flagWords": [
35+
"hte"
36+
]
37+
}

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ phpcs.xml.dist file in your project like this:
7373

7474
```xml
7575
<?xml version="1.0" encoding="UTF-8"?>
76-
<ruleset name="myproject">
77-
<description>PHP CodeSniffer configuration for myproject development.</description>
76+
<ruleset name="example">
77+
<description>PHP CodeSniffer configuration for example development.</description>
7878
<!-- Check all files in the current directory and below. -->
7979
<file>.</file>
8080
<arg name="extensions" value="php,module,inc,install,test,profile,theme,css,info,txt,md,yml"/>
@@ -139,7 +139,7 @@ Then execute the coding standards checker on Coder itself:
139139

140140
Then execute static analysis:
141141

142-
./vendor/bin/phpstan analyse
142+
./vendor/bin/phpstan
143143

144144

145145
## Contributing
@@ -154,6 +154,8 @@ Thank you!
154154

155155
## Maintainers
156156

157+
[//]: # cspell:ignore Pieter Frenssen Welford
158+
157159
- Pieter Frenssen, https://www.drupal.org/u/pfrenssen
158160
- Michael Welford, https://www.drupal.org/u/mikejw
159161
- Klaus Purer, https://www.drupal.org/u/klausi

0 commit comments

Comments
 (0)