Add recommended VSCode extensions (#2244)
* Add code spell check and i18n-ally to recommended vscode extens ions * Add EditorConfig to recommended extensions and formatCodeOnAction to use eslint fix
This commit is contained in:
parent
f95fce2c85
commit
6d550a8a16
|
@ -6,3 +6,4 @@ charset = utf-8
|
||||||
indent_style = space
|
indent_style = space
|
||||||
indent_size = 4
|
indent_size = 4
|
||||||
insert_final_newline = true
|
insert_final_newline = true
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
|
5
.vscode/extensions.json
vendored
5
.vscode/extensions.json
vendored
|
@ -3,6 +3,9 @@
|
||||||
// for the documentation about the extensions.json format
|
// for the documentation about the extensions.json format
|
||||||
"recommendations": [
|
"recommendations": [
|
||||||
"dbaeumer.vscode-eslint",
|
"dbaeumer.vscode-eslint",
|
||||||
"msjsdiag.debugger-for-chrome"
|
"msjsdiag.debugger-for-chrome",
|
||||||
|
"streetsidesoftware.code-spell-checker",
|
||||||
|
"lokalise.i18n-ally",
|
||||||
|
"EditorConfig.EditorConfig"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
118
.vscode/launch.json
vendored
118
.vscode/launch.json
vendored
|
@ -1,61 +1,61 @@
|
||||||
{
|
{
|
||||||
"version": "0.2.0",
|
"version": "0.2.0",
|
||||||
"configurations": [
|
"configurations": [
|
||||||
{
|
{
|
||||||
"type": "node",
|
"type": "node",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"name": "Debug Main Process",
|
"name": "Debug Main Process",
|
||||||
"cwd": "${workspaceRoot}",
|
"cwd": "${workspaceRoot}",
|
||||||
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron",
|
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron",
|
||||||
"runtimeArgs": [
|
"runtimeArgs": [
|
||||||
"src",
|
"src",
|
||||||
"--disable-dev-mode"
|
"--disable-dev-mode"
|
||||||
],
|
],
|
||||||
"windows": {
|
"windows": {
|
||||||
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron.cmd"
|
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron.cmd"
|
||||||
},
|
},
|
||||||
"program": "${workspaceRoot}/src/main.js",
|
"program": "${workspaceRoot}/src/main.js",
|
||||||
"outFiles": [
|
"outFiles": [
|
||||||
"${workspaceRoot}/src/main_bundle.js"
|
"${workspaceRoot}/src/main_bundle.js"
|
||||||
],
|
],
|
||||||
"sourceMaps": true,
|
"sourceMaps": true,
|
||||||
"preLaunchTask": "Build sources"
|
"preLaunchTask": "Build sources"
|
||||||
},
|
},
|
||||||
/*
|
/*
|
||||||
{
|
{
|
||||||
"name": "Debug Renderer Process",
|
"name": "Debug Renderer Process",
|
||||||
"type": "chrome",
|
"type": "chrome",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron",
|
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron",
|
||||||
"windows": {
|
"windows": {
|
||||||
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron.cmd"
|
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron.cmd"
|
||||||
},
|
},
|
||||||
"runtimeArgs": [
|
"runtimeArgs": [
|
||||||
"${workspaceRoot}/src",
|
"${workspaceRoot}/src",
|
||||||
"--disable-dev-mode",
|
"--disable-dev-mode",
|
||||||
"--remote-debugging-port=9222"
|
"--remote-debugging-port=9222"
|
||||||
],
|
],
|
||||||
"webRoot": "${workspaceRoot}/src/browser",
|
"webRoot": "${workspaceRoot}/src/browser",
|
||||||
"sourceMaps": true,
|
"sourceMaps": true,
|
||||||
"preLaunchTask": "Build sources"
|
"preLaunchTask": "Build sources"
|
||||||
},
|
},
|
||||||
*/
|
*/
|
||||||
{
|
{
|
||||||
"type": "node",
|
"type": "node",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"name": "Mocha Tests",
|
"name": "Mocha Tests",
|
||||||
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha",
|
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha",
|
||||||
"args": [
|
"args": [
|
||||||
"-r",
|
"-r",
|
||||||
"@babel/register",
|
"@babel/register",
|
||||||
"--recursive",
|
"--recursive",
|
||||||
"--timeout",
|
"--timeout",
|
||||||
"999999",
|
"999999",
|
||||||
"--colors",
|
"--colors",
|
||||||
"${workspaceRoot}/e2e/specs"
|
"${workspaceRoot}/e2e/specs"
|
||||||
],
|
],
|
||||||
"internalConsoleOptions": "openOnSessionStart",
|
"internalConsoleOptions": "openOnSessionStart",
|
||||||
"preLaunchTask": "Build sources"
|
"preLaunchTask": "Build sources"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
17
.vscode/settings.json
vendored
Normal file
17
.vscode/settings.json
vendored
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
{
|
||||||
|
"i18n-ally.localesPaths": [
|
||||||
|
"i18n"
|
||||||
|
],
|
||||||
|
"editor.codeActionsOnSave": {
|
||||||
|
"source.fixAll.eslint": true
|
||||||
|
},
|
||||||
|
"cSpell.words": [
|
||||||
|
"browserview",
|
||||||
|
"deauthorize",
|
||||||
|
"loadscreen",
|
||||||
|
"Ochiai",
|
||||||
|
"UNCLOSEABLE",
|
||||||
|
"webcontents",
|
||||||
|
"Yuya"
|
||||||
|
]
|
||||||
|
}
|
|
@ -1,11 +1,11 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; style-src 'self' 'unsafe-inline'; media-src data:">
|
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; style-src 'self' 'unsafe-inline'; media-src data:">
|
||||||
<title><%= htmlWebpackPlugin.options.title %></title>
|
<title><%= htmlWebpackPlugin.options.title %></title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="app" />
|
<div id="app" />
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in a new issue