-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdevcontainer.json
87 lines (87 loc) · 3.34 KB
/
devcontainer.json
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
{
"name": "PHP",
// https://github.com/devcontainers/images/tree/main/src/php
"image": "mcr.microsoft.com/vscode/devcontainers/php:8.1",
"features": {
// https://github.com/devcontainers/features/tree/main/src/node
"ghcr.io/devcontainers/features/node:1": {
"version": "18.14.0",
"nvmVersion": "0.39.3"
}
},
"postCreateCommand": "npm install",
"customizations": {
"vscode": {
"extensions": [
"junstyle.php-cs-fixer",
"bmewburn.vscode-intelephense-client",
"neilbrayfield.php-docblocker",
"dbaeumer.vscode-eslint",
"aswinkumar863.smarty-template-support",
"MehediDracula.php-namespace-resolver",
"Natizyskunk.sftp",
"eamodio.gitlens"
],
"settings": {
"[html]": {
"editor.rulers": [
120
],
"editor.tabSize": 4
},
"[javascript]": {
"editor.rulers": [
80,
120
]
},
"[php]": {
"editor.defaultFormatter": "junstyle.php-cs-fixer",
"editor.rulers": [
80,
120
]
},
"[smarty]": {
"editor.rulers": [
120
],
"editor.tabSize": 4,
"editor.wrappingIndent": "deepIndent",
"editor.wrappingStrategy": "advanced"
},
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"editor.formatOnSave": true,
"files.encoding": "utf8",
"files.eol": "\n",
"html.format.wrapAttributes": "force-expand-multiline",
"html.format.wrapAttributesIndentSize": 4,
"html.format.wrapLineLength": 120,
"intelephense.environment.documentRoot": "src",
"intelephense.environment.phpVersion": "8.1",
"intelephense.files.associations": [
"*.php"
],
"namespaceResolver.showMessageOnStatusBar": true,
"namespaceResolver.sortAlphabetically": true,
"namespaceResolver.sortNatural": true,
"namespaceResolver.sortOnSave": true,
"php-cs-fixer.autoFixByBracket": true,
"php-cs-fixer.autoFixBySemicolon": true,
"php-cs-fixer.config": ".php-cs-fixer.php",
"php-cs-fixer.executablePath": "${extensionPath}/php-cs-fixer.phar",
"php-cs-fixer.formatHtml": true,
"php-cs-fixer.onsave": true,
"php-docblocker.alignParams": true,
"php-docblocker.alignReturn": true,
"php-docblocker.useShortNames": true,
"php.suggest.basic": false,
"php.validate.enable": false,
"smarty.highlight": true
}
}
}
}