This commit is contained in:
Anmol Sethi 2020-12-04 02:08:55 -05:00
parent c15b526eff
commit a021bf5d35
No known key found for this signature in database
GPG Key ID: 8CEF1878FF10ADEB
4 changed files with 13 additions and 3 deletions

View File

@ -14,7 +14,7 @@ main() {
cd lib/vscode cd lib/vscode
# Run this periodically in vanilla VS code to make sure we don't add any more warnings. # Run this periodically in vanilla VS code to make sure we don't add any more warnings.
yarn eslint --max-warnings=3 yarn -s eslint --max-warnings=3
cd "$OLDPWD" cd "$OLDPWD"
} }

View File

@ -1,3 +1,13 @@
diff --git a/.eslintignore b/.eslintignore
index b2c4a5b6efa856968bbb62c56113004ddb3929e6..035aec8f6a8b0ea8fc6d3d836d160da54aac2fdb 100644
--- a/.eslintignore
+++ b/.eslintignore
@@ -14,3 +14,5 @@
**/extensions/**/build/**
**/extensions/markdown-language-features/media/**
**/extensions/typescript-basics/test/colorize-fixtures/**
+# This is a code-server code symlink.
+src/vs/base/node/proxy_agent.ts
diff --git a/.eslintrc.json b/.eslintrc.json diff --git a/.eslintrc.json b/.eslintrc.json
index 055bc22f8e48e7dee559b83ac56c12a54c6ad544..14c026c04a7df5ac94bea2856e3a7a513c213775 100644 index 055bc22f8e48e7dee559b83ac56c12a54c6ad544..14c026c04a7df5ac94bea2856e3a7a513c213775 100644
--- a/.eslintrc.json --- a/.eslintrc.json

View File

@ -17,10 +17,10 @@ import {
} from "./cli" } from "./cli"
import { coderCloudBind } from "./coder_cloud" import { coderCloudBind } from "./coder_cloud"
import { commit, version } from "./constants" import { commit, version } from "./constants"
import * as proxyAgent from "./proxy_agent"
import { register } from "./routes" import { register } from "./routes"
import { humanPath, isFile, open } from "./util" import { humanPath, isFile, open } from "./util"
import { isChild, wrapper } from "./wrapper" import { isChild, wrapper } from "./wrapper"
import * as proxyAgent from "./proxy_agent"
export const runVsCodeCli = (args: DefaultedArgs): void => { export const runVsCodeCli = (args: DefaultedArgs): void => {
logger.debug("forking vs code cli...") logger.debug("forking vs code cli...")

View File

@ -1,6 +1,6 @@
import { logger } from "@coder/logger" import { logger } from "@coder/logger"
import * as proxyagent from "proxy-agent"
import * as http from "http" import * as http from "http"
import * as proxyagent from "proxy-agent"
/** /**
* This file does not have anything to do with the code-server proxy. * This file does not have anything to do with the code-server proxy.