forked from Vardot/varbase-project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.lando.yml
52 lines (52 loc) · 1.33 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
name: varbase
recipe: drupal9
config:
webroot: docroot
php: '7.4'
drush: ^10
services:
appserver:
scanner: false
build:
- "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"
xdebug: true
config:
php: .lando/.php.ini
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.