Skip to content

Commit

Permalink
style(cspell): Fix cspell spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
klausi committed Aug 3, 2024
1 parent 8739103 commit f83445c
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 3 deletions.
37 changes: 37 additions & 0 deletions .cspell.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
// Version of the setting file. Always 0.2
"version": "0.2",
// language - current active spelling language
"language": "en-US",
"ignorePaths": [
"composer.*",
"tests",
"vendor"
],
"dictionaries": [
"dictionary",
"drupal",
"companies",
"fonts",
"html",
"php",
"softwareTerms"
],
// words - list of words to be always considered correct
"words": [
"autoloader",
"codesniffer",
"Komodo",
"Netbeans",
"phpcbf",
"ruleset",
"squizlabs",
"Squiz"
],
// 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"
]
}
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ phpcs.xml.dist file in your project like this:

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

Then execute static analysis:

./vendor/bin/phpstan analyse
./vendor/bin/phpstan


## Contributing
Expand All @@ -154,6 +154,8 @@ Thank you!

## Maintainers

[//]: # cspell:ignore Pieter Frenssen Welford

- Pieter Frenssen, https://www.drupal.org/u/pfrenssen
- Michael Welford, https://www.drupal.org/u/mikejw
- Klaus Purer, https://www.drupal.org/u/klausi
Expand Down

0 comments on commit f83445c

Please sign in to comment.