diff --git a/.gitignore b/.gitignore index 02e3dad2b4..0af6defd96 100644 --- a/.gitignore +++ b/.gitignore @@ -2,7 +2,6 @@ node_modules .idea .task .vs/ -.vscode *.DS_Store *.env *.pdb @@ -13,4 +12,4 @@ node_modules /output /build -*storybook.log \ No newline at end of file +*storybook.log diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000000..b308e58914 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,5 @@ +{ + "recommendations": [ + "dbaeumer.vscode-eslint" + ] +} diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000000..095a698a13 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,18 @@ +{ + "eslint.run": "onSave", + "eslint.validate": ["javascript", "typescript"], + "files.insertFinalNewline": true, + "[go]": { + "editor.formatOnSave": true + }, + "[javascript]": { + "editor.codeActionsOnSave": { + "source.fixAll.eslint": "always" + }, + }, + "[typescript]": { + "editor.codeActionsOnSave": { + "source.fixAll.eslint": "always" + }, + }, +} diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 6d364e1dda..ca9d6f7653 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -20,4 +20,8 @@ again. All submissions, including submissions by project members, require review. We use GitHub pull requests for this purpose. Consult [GitHub Help](https://help.github.com/articles/about-pull-requests/) for more -information on using pull requests. \ No newline at end of file +information on using pull requests. + +## Setup: VSCode + +Make sure to go to the `Extensions` tab and install the recommended extensions!