From 0da86c1838cb4dd4b9d3147fb01da09b20db57e5 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Sat, 29 Sep 2018 12:15:49 +0400 Subject: Settings of is this editor Signed-off-by: Valentin Popov --- .vscode/extensions.json | 10 ++++++++++ .vscode/settings.json | 19 +++++++++++++++++++ .vscode/tasks.json | 29 +++++++++++++++++++++++++++++ 3 files changed, 58 insertions(+) create mode 100644 .vscode/extensions.json create mode 100644 .vscode/settings.json create mode 100644 .vscode/tasks.json diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..beaf327 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,10 @@ +{ + // See http://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations. + // Extension identifier format: ${publisher}.${name}. Example: vscode.csharp + // List of extensions which should be recommended for users of this workspace. + "recommendations": [ + "dbaeumer.vscode-eslint" + ], + // List of extensions recommended by VS Code that should not be recommended for users of this workspace. + "unwantedRecommendations": [] +} diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..35cf1ae --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,19 @@ +{ + "editor.formatOnPaste": true, + "editor.formatOnSave": true, + "editor.formatOnType": true, + "eslint.autoFixOnSave": true, + "eslint.enable": true, + "eslint.validate": [ + "javascript", + "javascriptreact", + { + "language": "html", + "autoFix": true + } + ], + "eslint.workingDirectories": [ + "./src" + ], + "files.autoSave": "afterDelay", +} diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..40ddf54 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,29 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "label": "Compile the package", + "type": "npm", + "script": "build", + "problemMatcher": [], + "group": { + "kind": "build", + "isDefault": true + } + }, + { + "label": "Install the package dependencies", + "type": "npm", + "script": "install", + "problemMatcher": [] + }, + { + "label": "Test the package", + "type": "npm", + "script": "test", + "problemMatcher": [] + } + ] +} -- cgit v1.2.3