-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
105 lines (105 loc) · 2.54 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
105
{
"publisher": "lvjiaxuan",
"name": "vscode-eslint-disable",
"displayName": "ESLint Disable",
"type": "module",
"version": "1.4.1",
"packageManager": "[email protected]",
"description": "Intelligently disable ESLint rules for VS Code.",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/lvjiaxuan/vscode-eslint-disable"
},
"categories": [
"Other",
"Snippets"
],
"main": "./dist/extension.cjs",
"icon": "assets/logo.png",
"engines": {
"vscode": "^1.75.0"
},
"activationEvents": [],
"contributes": {
"commands": [
{
"command": "eslint-disable.disable",
"title": "disable rule(s) for line(s).",
"category": "ESLint Disable"
},
{
"command": "eslint-disable.entire",
"title": "disable rule(s) of line(s) for entire file.",
"category": "ESLint Disable"
},
{
"command": "eslint-disable.all",
"title": "disable all rule(s) for entire file.",
"category": "ESLint Disable"
}
],
"menus": {
"editor/context": [
{
"command": "eslint-disable.disable",
"group": "2_modification"
},
{
"command": "eslint-disable.entire",
"group": "2_modification"
},
{
"command": "eslint-disable.all",
"group": "2_modification"
}
]
},
"keybindings": [
{
"command": "eslint-disable.disable",
"key": "ctrl+alt+d",
"mac": "ctrl+alt+d",
"when": "editorTextFocus"
},
{
"command": "eslint-disable.entire",
"key": "ctrl+alt+e",
"mac": "ctrl+alt+e",
"when": "editorTextFocus"
},
{
"command": "eslint-disable.all",
"key": "ctrl+alt+a",
"mac": "ctrl+alt+a",
"when": "editorTextFocus"
}
]
},
"scripts": {
"build": "tsup src/extension.ts --external=vscode --clean",
"dev": "pnpm run build --watch --sourcemap",
"vscode:prepublish": "pnpm run build",
"lint": "eslint .",
"pack": "vsce package --no-dependencies",
"publish": "vsce publish --no-dependencies"
},
"devDependencies": {
"@lvjiaxuan/eslint-config": "^1.12.1",
"@types/node": "^22.5.5",
"@types/vscode": "1.75.0",
"@vscode/vsce": "^3.1.0",
"eslint": "^9.10.0",
"simple-git-hooks": "^2.11.1",
"tsup": "^8.3.0",
"typescript": "^5.6.2"
},
"simple-git-hooks": {
"pre-commit": [
"npx lint-staged"
]
},
"lint-staged": {
"*": "eslint --fix"
}
}