-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy path.lando.yml
59 lines (59 loc) · 1.59 KB
/
.lando.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name: varbase
recipe: drupal9
config:
webroot: docroot
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"
build_as_root:
- apt update -y
- apt -y install libyaml-dev
- pecl install yaml
xdebug: true
config:
php: .lando/.php.ini
node:
type: node
build:
- "yarn install -y"
# memcache:
# type: memcached
# solr:
# type: solr:8.6
# portforward: true
# core: drupal-solr
# config:
# dir: docroot/modules/contrib/search_api_solr/solr-conf/7.x
tooling:
phpcs:
service: appserver
cmd: "phpcs"
options:
description: Run phpcs for given folder or file.
drupal-check:
service: appserver
cmd: "drupal-check"
options:
description: Run drupal-check for given folder or file.
twig-lint:
service: appserver
cmd: "php /var/www/twig-lint.phar"
options:
description: Run twig-lint for given folder or file.
eslint:
service: node
cmd: "node ./node_modules/eslint/bin/eslint.js --config=.eslintrc.json"
options:
description: Run jshint for given folder or file.
stylelint:
service: node
cmd: "npx stylelint --config=.stylelintrc.json"
options:
description: Run stylelint for given folder or file.