From 1b9587961491678b7372a996f74f16f2361bf5cb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Nicol=C3=B2=20Ribaudo?=
Date: Fri, 12 Jun 2020 01:03:39 +0200
Subject: [PATCH] Setup Gitpod (#11704)
Co-authored-by: Brian Ng
[skip ci]
---
.gitpod.yml | 22 ++++++++++++++++++++++
CONTRIBUTING.md | 2 ++
README.md | 3 +++
3 files changed, 27 insertions(+)
create mode 100644 .gitpod.yml
diff --git a/.gitpod.yml b/.gitpod.yml
new file mode 100644
index 0000000000..a35a012e3b
--- /dev/null
+++ b/.gitpod.yml
@@ -0,0 +1,22 @@
+# List the start up tasks. You can start them in parallel in multiple terminals. See https://www.gitpod.io/docs/config-start-tasks/
+tasks:
+ - init: make bootstrap
+ command: make watch
+
+github:
+ # https://www.gitpod.io/docs/prebuilds/#configure-prebuilds
+ prebuilds:
+ master: true
+ branches: true
+ pullRequests: true
+ pullRequestsFromForks: true
+ addCheck: true
+ addComment: false
+ addBadge: true
+ addLabel: false
+
+vscode:
+ extensions:
+ - dbaeumer.vscode-eslint@2.1.5:9Wg0Glx/TwD8ElFBg+FKcQ==
+ - esbenp.prettier-vscode@5.0.0:qca7d0cHbKkrkb5rvNlpcg==
+ - flowtype.flow-for-vscode@1.5.0:AwOT6wgHTF43loZQCAUMLA==
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index c0a2bd0510..1602f548b0 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -18,6 +18,8 @@
Contributions are always welcome, no matter how large or small! Before contributing, please read the [code of conduct](https://github.com/babel/babel/blob/master/CODE_OF_CONDUCT.md).
+If you want an already configured online IDE to contribute to Babel, you can use [Gitpod](https://gitpod.io/#https://github.com/babel/babel)!
+
## Not sure where to start?
- If you aren't just making a documentation change, you'll probably want to learn a bit about a few topics.
diff --git a/README.md b/README.md
index 0b17712e2e..bab46f0053 100644
--- a/README.md
+++ b/README.md
@@ -8,6 +8,9 @@
The compiler for writing next generation JavaScript.
+
+[](https://gitpod.io/#https://github.com/babel/babel)
+