Skip to content
Snippets Groups Projects
Commit 4995c82d authored by James Shields's avatar James Shields Committed by Chris Wells
Browse files

Issue #3425989: GitLab CI - Fix CSpell issues

parent dca18219
No related branches found
No related tags found
No related merge requests found
...@@ -57,6 +57,20 @@ variables: ...@@ -57,6 +57,20 @@ variables:
composer-lint: composer-lint:
allow_failure: false allow_failure: false
################
# Require cspell to pass.
# Currently this uses a before script to delete .cspell.json and rename
# dictionary.txt. This can be removed when DrupalCI is disabled.
################
cspell:
allow_failure: false
variables:
_CSPELL_IGNORE_PATHS: '"README.md","contributor.md","sveltejs/public/build","sveltejs/node_modules","tests/fixtures","fixtures"'
before_script:
- cd $CI_PROJECT_DIR/$_WEB_ROOT/modules/custom/$CI_PROJECT_NAME/
- rm .cspell.json
- mv dictionary.txt .cspell-project-words.txt
################ ################
# Require stylelint checks to pass. # Require stylelint checks to pass.
################ ################
......
...@@ -8,6 +8,10 @@ use GuzzleHttp\Promise\FulfilledPromise; ...@@ -8,6 +8,10 @@ use GuzzleHttp\Promise\FulfilledPromise;
use GuzzleHttp\Psr7\Response; use GuzzleHttp\Psr7\Response;
use Psr\Http\Message\RequestInterface; use Psr\Http\Message\RequestInterface;
// cspell:ignore Bcore Bdevelopment Bfulltext Blimit Bmachine Bmaintenance
// cspell:ignore Bmodule Boffset Boperator Bpath Bproject Bsecurity Bstatus
// cspell:ignore Btaxonomy Btype Bvalue Cfield
/** /**
* Middleware to intercept Drupal.org API requests during tests. * Middleware to intercept Drupal.org API requests during tests.
*/ */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment