Skip to content

Commit 010f094

Browse files
committed
Update project
1 parent 21a15c2 commit 010f094

8 files changed

Lines changed: 29 additions & 105 deletions

File tree

.eslintrc.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"root": true,
3+
"parser": "@typescript-eslint/parser",
4+
"parserOptions": {
5+
"ecmaVersion": 6,
6+
"sourceType": "module"
7+
},
8+
"plugins": ["@typescript-eslint"],
9+
"rules": {
10+
"@typescript-eslint/class-name-casing": "warn",
11+
"@typescript-eslint/semi": ["error", "never"],
12+
"curly": ["error", "multi-or-nest"],
13+
"eqeqeq": "warn",
14+
"no-throw-literal": "warn",
15+
"semi": "off"
16+
}
17+
}

.vscode/extensions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
// See http://go.microsoft.com/fwlink/?LinkId=827846
33
// for the documentation about the extensions.json format
4-
"recommendations": ["ms-vscode.vscode-typescript-tslint-plugin"]
4+
"recommendations": ["dbaeumer.vscode-eslint"]
55
}

.vscodeignore

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
.git
22
.gitignore
3-
.vscode-test/
43
.vscode/
54
**/.DS_Store
5+
**/.eslintrc.json
66
**/*.map
77
**/*.ts
88
**/tsconfig.json
9-
**/tslint.json
109
backend/
1110
icon/res/
12-
out/test/
1311
package-lock.json
1412
src/
1513
tasks.ts

package.json

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,15 @@
3232
"task-copy": "ts-node tasks.ts copy"
3333
},
3434
"devDependencies": {
35-
"@types/glob": "^7.1.1",
36-
"@types/mocha": "^5.2.7",
37-
"@types/node": "^12.7.5",
38-
"@types/shelljs": "^0.8.5",
39-
"@types/vscode": "^1.38.0",
40-
"glob": "^7.1.4",
41-
"mocha": "^6.2.0",
35+
"@types/node": "^13.7.0",
36+
"@types/shelljs": "^0.8.6",
37+
"@types/vscode": "^1.42.0",
38+
"@typescript-eslint/eslint-plugin": "^2.19.0",
39+
"@typescript-eslint/parser": "^2.19.0",
40+
"eslint": "^6.8.0",
4241
"shelljs": "^0.8.3",
43-
"ts-node": "^8.4.1",
44-
"tslint": "^5.20.0",
45-
"typescript": "^3.6.3",
46-
"vscode-test": "^1.2.0"
42+
"ts-node": "^8.6.2",
43+
"typescript": "^3.7.5"
4744
},
4845
"repository": {
4946
"type": "git",
@@ -52,5 +49,6 @@
5249
"bugs": {
5350
"url": "https://github.com/lanly-dev/VSCode-VoiceCommands/issues"
5451
},
55-
"license": "MIT"
52+
"license": "MIT",
53+
"dependencies": {}
5654
}

src/test/runTest.ts

Lines changed: 0 additions & 23 deletions
This file was deleted.

src/test/suite/extension.test.ts

Lines changed: 0 additions & 18 deletions
This file was deleted.

src/test/suite/index.ts

Lines changed: 0 additions & 37 deletions
This file was deleted.

tslint.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)