summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2019-06-22 13:53:43 +0200
committerRyan Dahl <ry@tinyclouds.org>2019-06-22 04:53:43 -0700
commitb6ad0df64f17f7a75092207b96409551ebfaa013 (patch)
treeae51933c6dc6054374554c7f36a2a145a15b20cd
parenta02c3bd38873379b045c01241f54c843bca6aff5 (diff)
fix: pin eslint version for CI (denoland/deno_std#518)
https://github.com/typescript-eslint/typescript-eslint/issues/637 Original: https://github.com/denoland/deno_std/commit/4772c34521f7abba6c7038273e185c6a96f8f216
-rw-r--r--.ci/template.linux.yml2
-rw-r--r--.ci/template.mac.yml2
-rw-r--r--.ci/template.windows.yml2
3 files changed, 3 insertions, 3 deletions
diff --git a/.ci/template.linux.yml b/.ci/template.linux.yml
index 8e935a9c8..a6bab1787 100644
--- a/.ci/template.linux.yml
+++ b/.ci/template.linux.yml
@@ -1,5 +1,5 @@
steps:
- - bash: npm install eslint typescript@$(TS_VERSION) @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint-config-prettier
+ - bash: npm install eslint@5.16.0 typescript@$(TS_VERSION) @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint-config-prettier
- template: ./template.unix.yml
- bash: npx eslint **/*.ts --max-warnings=0
- template: ./template.common.yml
diff --git a/.ci/template.mac.yml b/.ci/template.mac.yml
index 81ea6fb35..45ebc0171 100644
--- a/.ci/template.mac.yml
+++ b/.ci/template.mac.yml
@@ -1,6 +1,6 @@
steps:
- bash: npm install -g functional-red-black-tree
- - bash: npm -g install eslint typescript@$(TS_VERSION) @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint-config-prettier
+ - bash: npm -g install eslint@5.16.0 typescript@$(TS_VERSION) @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint-config-prettier
- template: ./template.unix.yml
- bash: eslint **/*.ts --max-warnings=0
- template: ./template.common.yml
diff --git a/.ci/template.windows.yml b/.ci/template.windows.yml
index f2228993d..818294e14 100644
--- a/.ci/template.windows.yml
+++ b/.ci/template.windows.yml
@@ -1,5 +1,5 @@
steps:
- - bash: npm install eslint typescript@$(TS_VERSION) @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint-config-prettier
+ - bash: npm install eslint@5.16.0 typescript@$(TS_VERSION) @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint-config-prettier
- powershell: iwr https://deno.land/x/install/install.ps1 -out install.ps1; .\install.ps1 $(DENO_VERSION)
- bash: echo "##vso[task.prependpath]C:\Users\VssAdministrator\.deno\\bin"
- bash: npx eslint **/*.ts --max-warnings=0