forked from mansoorkhan96/php-cs-fixer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
104 lines (104 loc) · 3.31 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
92
93
94
95
96
97
98
99
100
101
102
103
104
{
"name": "php-cs-fixer",
"displayName": "PHP CS Fixer",
"description": "PHP CS Fixer extension for VS Code with zero config",
"icon": "icon.png",
"version": "1.0.3",
"publisher": "mansoorkhan96",
"engines": {
"vscode": "^1.18.0"
},
"repository": {
"type": "git",
"url": "https://github.com/mansoorkhan96/php-cs-fixer"
},
"categories": [
"Formatters",
"Linters",
"Other"
],
"keywords": [
"PHP",
"PHP formatter",
"PHP format",
"phpfmt",
"php cs fixer",
"PHP prettier",
"Prettier for PHP",
"Laravel",
"Symfony",
"prettier"
],
"activationEvents": [
"onLanguage:php"
],
"main": "./extension",
"contributes": {
"commands": [
{
"command": "php-cs-fixer.fix",
"title": "php-cs-fixer: fix"
}
],
"configuration": {
"title": "php-cs-fixer",
"type": "object",
"properties": {
"php-cs-fixer.toolPath": {
"type": "string",
"default": "",
"description": "The path to the php-cs-fixer tool"
},
"php-cs-fixer.phpCmd": {
"type": "string",
"default": "",
"description": "The command to use as the php executable to run php-cs-fixer with. Defaults to just 'php'."
},
"php-cs-fixer.useCache": {
"type": "boolean",
"default": false,
"description": "Use a cache file when fixing files (--using-cache)"
},
"php-cs-fixer.allowRisky": {
"type": "boolean",
"default": false,
"description": "Are risky fixers allowed (--allow-risky)"
},
"php-cs-fixer.config": {
"type": "string",
"default": "",
"description": "Path to a .php_cs file (--config)"
},
"php-cs-fixer.rules": {
"type": "string",
"default": "@PSR1,@PSR2,@Symfony,-yoda_style",
"description": "Rules to use when fixing files (--rules)"
},
"php-cs-fixer.fixOnSave": {
"type": "boolean",
"default": true,
"description": "Runs fix command on save"
},
"php-cs-fixer.preset": {
"type": "string",
"default": "",
"description": "Use a preset from: laravel, PER, PSR12, symfony"
}
}
}
},
"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"
}
}