Skip to content
This repository has been archived by the owner on Nov 9, 2021. It is now read-only.

Fixed lint-theme not failing on fail and excluded node_modules. #455

Merged
merged 3 commits into from
May 12, 2020

Conversation

AlexSkrypnyk
Copy link
Contributor

This is a commutative PR that addresses 2 things:

  • Fixes lint-theme not returning a non-zero code when standards are not met. Note that CI config for SaaS has a value to always bypass lint errors, so this change will not affect SaaS builds.
  • Adds ignoring of node_modules to the parallel-lint and PHPCS target. This has been requested in node_modules in the custom theme directory is getting linted and produces large number of warnings #224 and added as 2 PRs: 223 and 222, which were closed with a reference to the govcms8-scaffold project's PR 12. While that PR is being in waiting for a year now, existing and new SaaS projects cannot use code linting functionality in full.

@fubarhouse
Copy link
Contributor

I've restarted the tugboat environment and GitHub doesn't seem to realize it has passed...

@fubarhouse fubarhouse merged commit e1243b8 into 1.x May 12, 2020
@AlexSkrypnyk AlexSkrypnyk deleted the feature/fix-theme-lint branch May 12, 2020 04:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants