Problem/Motivation

CI never blocks a merge: phpcs fails on every merge request, Twig files are not linted, and stylelint and cspell are skipped.

Proposed resolution

Fix the phpcs and Twig coding standard errors, lint Twig in CI, and make the checks blocking. Enable stylelint and cspell, allowed to fail for now. The markup does not change.

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

just_like_good_vibes created an issue. See original summary.

just_like_good_vibes’s picture

First proposition with MR!195.
It fixes the phpcs and Twig coding standard errors, adds a twig-lint job, and makes composer-lint, phpcs, phpstan, phpunit and twig-lint blocking. stylelint and cspell are enabled but allowed to fail, so the first pipeline shows what they report.

The Twig changes are formatting only, involves no markup changes.

just_like_good_vibes’s picture

Assigned: just_like_good_vibes » Unassigned
Status: Active » Fixed

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.