-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
101 lines (101 loc) · 2.74 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
{
"name": "erb-linter",
"publisher": "manuelpuyol",
"displayName": "ERB Linter",
"description": "execute erb-lint for ERB code.",
"version": "0.0.9",
"repository": "https://github.com/manuelpuyol/vscode-erb-linter",
"icon": "assets/logo.png",
"engines": {
"vscode": "^1.57.0"
},
"categories": [
"Linters"
],
"activationEvents": [
"onLanguage:erb",
"onLanguage:html.erb",
"onLanguage:js.erb",
"onCommand:erb.erb-lint"
],
"main": "./out/extension.js",
"contributes": {
"languages": [
{
"id": "erb",
"extensions": [
".erb"
]
}
],
"commands": [
{
"command": "erb.erb-lint",
"title": "ERB Linter: lint with erb-lint"
},
{
"command": "erb.erb-lint.correct",
"title": "ERB Linter: autocorrect current file with erb-lint"
}
],
"configuration": {
"type": "object",
"title": "ERB Linter",
"properties": {
"erb.erb-lint.pathToBundler": {
"type": "string",
"default": "bundle",
"description": "execution path of bundler."
},
"erb.erb-lint.executePath": {
"type": "string",
"default": "",
"description": "execution path of erb-lint."
},
"erb.erb-lint.configFilePath": {
"type": "string",
"default": "",
"description": "Filepath to the configuration file for erb-lint"
},
"erb.erb-lint.onSave": {
"type": "boolean",
"default": true,
"description": "execute erb-lint on save."
},
"erb.erb-lint.suppressERBLintWarnings": {
"type": "boolean",
"default": true,
"description": "Suppress warnings from erb-lint and attempt to run regardless. (Useful if you share a erb-lint.yml file and run into unrecognized cop errors you know are okay.)"
}
}
}
},
"scripts": {
"vscode:prepublish": "yarn run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "yarn run compile && yarn run lint",
"lint": "eslint src . --ext .ts",
"test": "node ./out/test/runTest.js",
"tsc": "tsc",
"package": "vsce package -o out/",
"publish": "vsce publish"
},
"devDependencies": {
"@github/prettier-config": "^0.0.4",
"@types/glob": "^7.1.3",
"@types/mocha": "^8.2.2",
"@types/node": "14.x",
"@types/vscode": "^1.57.0",
"@typescript-eslint/eslint-plugin": "4.28.3",
"@typescript-eslint/parser": "4.28.3",
"eslint": "7.30.0",
"eslint-plugin-github": "4.1.3",
"glob": "^7.1.7",
"mocha": "^8.4.0",
"prettier": "^2.3.2",
"typescript": "^4.3.2",
"vsce": "^1.95.1",
"vscode-test": "^1.5.2"
}
}