diff --git a/.prettierrc.json b/.prettierrc.json index d4b5cdd..9891f43 100644 --- a/.prettierrc.json +++ b/.prettierrc.json @@ -1,9 +1,9 @@ -{ - "printWidth": 80, - "tabWidth": 4, - "semi": true, - "singleQuote": true, - "trailingComma": "all", - "proseWrap": "always", - "endOfLine": "crlf" -} +{ + "printWidth": 80, + "tabWidth": 4, + "semi": true, + "singleQuote": true, + "trailingComma": "all", + "proseWrap": "always", + "endOfLine": "lf" +} diff --git a/src/compiler.ts b/src/compiler.ts index 2264b3c..22c4336 100644 --- a/src/compiler.ts +++ b/src/compiler.ts @@ -8,7 +8,6 @@ import { } from './preferences'; import * as vscode from 'vscode'; import { getJudgeViewProvider } from './extension'; -import telmetry from './telmetry'; export let onlineJudgeEnv = false; export const setOnlineJudgeEnv = (value: boolean) => { diff --git a/src/judge.ts b/src/judge.ts index 9c166fa..256f251 100644 --- a/src/judge.ts +++ b/src/judge.ts @@ -1,5 +1,4 @@ import { TestCase, Problem, Case } from './types'; -import { EOL } from 'os'; /** * Judge whether the testcase stdout is correct * diff --git a/src/secrets.ts b/src/secrets.ts deleted file mode 100644 index 52cf261..0000000 --- a/src/secrets.ts +++ /dev/null @@ -1,3 +0,0 @@ -export default { - appInsightsKey: '', // replace with actual key when publishing. -};