-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.lando.yml
49 lines (49 loc) · 1.29 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
name: varbase
recipe: drupal8
config:
webroot: docroot
php: '7.3'
drush: ^9
services:
appserver:
scanner: false
build:
- "composer global require drupal/coder dealerdirect/phpcodesniffer-composer-installer mglaman/drupal-check phpunit/phpunit"
- 'export PATH="/var/www/.composer/vendor/bin"'
- "wget https://asm89.github.io/d/twig-lint.phar -P /var/www"
node:
type: node
build:
- "yarn install -y"
# memcache:
# type: memcached
# solr:
# type: solr:8.4
# 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.