Skip to content

Commit f654d78

Browse files
committed
chore: prettify all source codes
1 parent bdf5e8a commit f654d78

21 files changed

+912
-919
lines changed

.eslintrc.js

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
/**@type {import('eslint').Linter.Config} */
22
module.exports = {
3-
root: true,
4-
parser: "@typescript-eslint/parser",
5-
plugins: ["@typescript-eslint"],
6-
extends: ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
7-
rules: {
8-
semi: [2, "always"],
9-
"@typescript-eslint/no-unused-vars": 0,
10-
"@typescript-eslint/no-explicit-any": 0,
11-
"@typescript-eslint/explicit-module-boundary-types": 0,
12-
"@typescript-eslint/no-non-null-assertion": 0,
13-
},
3+
root: true,
4+
parser: '@typescript-eslint/parser',
5+
plugins: ['@typescript-eslint'],
6+
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],
7+
rules: {
8+
semi: [2, 'always'],
9+
'@typescript-eslint/no-unused-vars': 0,
10+
'@typescript-eslint/no-explicit-any': 0,
11+
'@typescript-eslint/explicit-module-boundary-types': 0,
12+
'@typescript-eslint/no-non-null-assertion': 0,
13+
},
1414
};

.prettierrc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"singleQuote": false,
3-
"useTabs": true,
4-
"tabWidth": 4,
2+
"singleQuote": true,
3+
"useTabs": false,
4+
"tabWidth": 2,
55
"trailingComma": "es5"
66
}

.vscode/launch.json

Lines changed: 28 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -3,35 +3,32 @@
33
// Hover to view descriptions of existing attributes.
44
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
55
{
6-
"version": "0.2.0",
7-
"configurations": [{
8-
"name": "Run Extension",
9-
"type": "extensionHost",
10-
"request": "launch",
11-
"runtimeExecutable": "${execPath}",
12-
"args": [
13-
"--disable-extensions",
14-
"--extensionDevelopmentPath=${workspaceFolder}"
15-
],
16-
"outFiles": [
17-
"${workspaceFolder}/out/**/*.js"
18-
],
19-
"preLaunchTask": "npm: watch"
20-
},
21-
{
22-
"name": "Extension Tests",
23-
"type": "extensionHost",
24-
"request": "launch",
25-
"runtimeExecutable": "${execPath}",
26-
"args": [
27-
"--disable-extensions",
28-
"--extensionDevelopmentPath=${workspaceFolder}",
29-
"--extensionTestsPath=${workspaceFolder}/out/test/suite/index"
30-
],
31-
"outFiles": [
32-
"${workspaceFolder}/out/test/**/*.js"
33-
],
34-
"preLaunchTask": "npm: watch"
35-
}
36-
]
6+
"version": "0.2.0",
7+
"configurations": [
8+
{
9+
"name": "Run Extension",
10+
"type": "extensionHost",
11+
"request": "launch",
12+
"runtimeExecutable": "${execPath}",
13+
"args": [
14+
"--disable-extensions",
15+
"--extensionDevelopmentPath=${workspaceFolder}"
16+
],
17+
"outFiles": ["${workspaceFolder}/out/**/*.js"],
18+
"preLaunchTask": "npm: watch"
19+
},
20+
{
21+
"name": "Extension Tests",
22+
"type": "extensionHost",
23+
"request": "launch",
24+
"runtimeExecutable": "${execPath}",
25+
"args": [
26+
"--disable-extensions",
27+
"--extensionDevelopmentPath=${workspaceFolder}",
28+
"--extensionTestsPath=${workspaceFolder}/out/test/suite/index"
29+
],
30+
"outFiles": ["${workspaceFolder}/out/test/**/*.js"],
31+
"preLaunchTask": "npm: watch"
32+
}
33+
]
3734
}

.vscode/settings.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
// Place your settings in this file to overwrite default and user settings.
22
{
3-
"files.exclude": {
4-
"out": false // set this to true to hide the "out" folder with the compiled JS files
5-
},
6-
"search.exclude": {
7-
"out": true // set this to false to include "out" folder in search results
8-
},
9-
// Turn off tsc task auto detection since we have the necessary tasks as npm scripts
10-
"typescript.tsc.autoDetect": "off"
3+
"files.exclude": {
4+
"out": false // set this to true to hide the "out" folder with the compiled JS files
5+
},
6+
"search.exclude": {
7+
"out": true // set this to false to include "out" folder in search results
8+
},
9+
// Turn off tsc task auto detection since we have the necessary tasks as npm scripts
10+
"typescript.tsc.autoDetect": "off"
1111
}

.vscode/tasks.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
// See https://go.microsoft.com/fwlink/?LinkId=733558
22
// for the documentation about the tasks.json format
33
{
4-
"version": "2.0.0",
5-
"tasks": [
6-
{
7-
"type": "npm",
8-
"script": "watch",
9-
"problemMatcher": "$tsc-watch",
10-
"isBackground": true,
11-
"presentation": {
12-
"reveal": "never"
13-
},
14-
"group": {
15-
"kind": "build",
16-
"isDefault": true
17-
}
18-
}
19-
]
4+
"version": "2.0.0",
5+
"tasks": [
6+
{
7+
"type": "npm",
8+
"script": "watch",
9+
"problemMatcher": "$tsc-watch",
10+
"isBackground": true,
11+
"presentation": {
12+
"reveal": "never"
13+
},
14+
"group": {
15+
"kind": "build",
16+
"isDefault": true
17+
}
18+
}
19+
]
2020
}

0 commit comments

Comments
 (0)