Problem/Motivation

See https://git.drupalcode.org/project/views_field_view/-/jobs/4006338

$ $CI_PROJECT_DIR/$_WEB_ROOT/core/node_modules/.bin/cspell -c .cspell.json --show-suggestions --show-context --no-progress $_CSPELL_EXTRA $CSPELL_SEARCH || EXIT_CODE=$?
src/Plugin/views/field/View.php:188:56    - Unknown word (forwardslash) -- 'Use a comma (,) or forwardslash (/) separated list of
	 Suggestions: [forwardsearch]
src/Plugin/views/field/View.php:413:32    - Unknown word (behaviour)    -- cause unexpected behaviour, as this will use the
	 Suggestions: [behavior, behaviors, behaver, behaving, belabour]
CSpell: Files checked: 16, Issues found: 2 in 1 file.
$ WORDS_FILE=_cspell_unrecognized_words.txt
$ UPDATED_PROJECT_DICTIONARY=_cspell_updated_project_words.txt
$ touch $_CSPELL_DICTIONARY $WORDS_FILE $UPDATED_PROJECT_DICTIONARY
$ if [ "$EXIT_CODE" != "" ]; then # collapsed multi-line command
CSpell: Files checked: 17, Issues found: 2 in 1 file.
The number of distinct unrecognised/misspelled words is 2
------------
behaviour
forwardslash
------------

Steps to reproduce

See https://git.drupalcode.org/project/views_field_view/-/jobs/4006338

Proposed resolution

- Update text in code to fix spelling issues.
- Update gitlab-ci.yml so that if a merge request introduces new cspell errors, the merge request can not be merged until the errors are addressed.

See: https://www.drupal.org/docs/develop/git/using-gitlab-to-contribute-to-dr...

cspell:
  allow_failure: false

Before with failing cspell test.

After with passing cspell test.

You may need to show whitespace changes to see all of the changes in this merge request.
Whitespace

Remaining tasks

Merge request

User interface changes

N/A

API changes

N/A

Data model changes

N/A

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

trackleft2 created an issue. See original summary.

trackleft2 changed the visibility of the branch 3499513-address-spelling-issues to hidden.

trackleft2’s picture

Status: Active » Needs review
trackleft2’s picture

trackleft2’s picture

Issue summary: View changes
StatusFileSize
new418.23 KB
vladimiraus’s picture

Status: Needs review » Reviewed & tested by the community

Great work. RTBC!

vladimiraus’s picture

Status: Reviewed & tested by the community » Fixed

Thank you for your contributions.
Merged. 🍻

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.