Skip to content

Commit

Permalink
Add allow plugins for phpcodesniffer-composer-installer (#161)
Browse files Browse the repository at this point in the history
>
>
Co-authored-by: jose <[email protected]>
  • Loading branch information
josebc authored and Natshah committed Jan 5, 2023
1 parent b2b0085 commit f5607a3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .lando.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@ name: varbase
recipe: drupal9
config:
webroot: docroot
php: '7.4'
php: '8.1'
drush: ^10
services:
appserver:
scanner: false
build:
- "composer global config allow-plugins.dealerdirect/phpcodesniffer-composer-installer true"
- "composer global require drupal/coder dealerdirect/phpcodesniffer-composer-installer mglaman/drupal-check"
- 'export PATH="/var/www/.composer/vendor/bin"'
- "wget https://asm89.github.io/d/twig-lint.phar -P /var/www -O twig-lint.phar"
Expand Down Expand Up @@ -53,6 +54,6 @@ tooling:
description: Run jshint for given folder or file.
stylelint:
service: node
cmd: "npx stylelint --config .stylelintrc.json"
cmd: "npx stylelint --config=.stylelintrc.json"
options:
description: Run stylelint for given folder or file.

0 comments on commit f5607a3

Please sign in to comment.