This repository has been archived by the owner on Aug 18, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
91 lines (91 loc) · 2.86 KB
/
package.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
88
89
90
91
{
"name": "vscode-php-cs-fixer",
"displayName": "vscode-php-cs-fixer",
"description": "Support for php-cs-fixer in Visual Studio Code",
"version": "0.4.0",
"publisher": "fterrag",
"engines": {
"vscode": "^1.18.0"
},
"repository": {
"type": "git",
"url": "https://github.com/fterrag/vscode-php-cs-fixer"
},
"categories": [
"Formatters"
],
"keywords": [
"PHP",
"PHP formatter",
"PHP format",
"phpfmt",
"php-cs-fixer"
],
"activationEvents": [
"onLanguage:php"
],
"main": "./extension",
"contributes": {
"commands": [
{
"command": "vscode-php-cs-fixer.fix",
"title": "php-cs-fixer: fix"
}
],
"configuration": {
"title": "php-cs-fixer",
"type": "object",
"properties": {
"vscode-php-cs-fixer.toolPath": {
"type": "string",
"default": "",
"description": "The path to the php-cs-fixer tool"
},
"vscode-php-cs-fixer.useCache": {
"type": "boolean",
"default": false,
"description": "Use a cache file when fixing files (--using-cache)"
},
"vscode-php-cs-fixer.allowRisky": {
"type": "boolean",
"default": false,
"description": "Are risky fixers allowed (--allow-risky)"
},
"vscode-php-cs-fixer.config": {
"type": "string",
"default": "",
"description": "Path to a .php_cs file (--config)"
},
"vscode-php-cs-fixer.rules": {
"type": "string",
"default": "@PSR1,@PSR2,@Symfony,-yoda_style",
"description": "Rules to use when fixing files (--rules)"
},
"vscode-php-cs-fixer.fixOnSave": {
"type": "boolean",
"default": true,
"description": "Runs fix command on save"
},
"vscode-php-cs-fixer.intersection": {
"type": "boolean",
"default": false,
"description": "Set path mode to intersection (--pathmode=intersection)"
}
}
}
},
"scripts": {
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "node ./node_modules/vscode/bin/test"
},
"devDependencies": {
"typescript": "^2.6.1",
"vscode": "^1.1.6",
"eslint": "^4.6.1",
"@types/node": "^7.0.43",
"@types/mocha": "^2.2.42"
},
"dependencies": {
"tmp": "^0.1.0"
}
}