format code

remove end of line
This commit is contained in:
DefectingCat
2023-05-17 14:58:22 +08:00
parent 221e72d783
commit b19914b68a
34 changed files with 38 additions and 48 deletions

View File

@ -4,7 +4,7 @@ import { GistsFile } from 'types';
const password = process.env.NEXT_PUBLIC_GITHUB_API;
const host = process.env.NEXT_PUBLIC_GISTS_HOST ?? 'https://api.github.com';
if (!password) throw new Error('No GitHub token detected.')
if (!password) throw new Error('No GitHub token detected.');
const octokit = new Octokit({
auth: password,
baseUrl: host,

View File

@ -35,7 +35,8 @@
text-shadow: 0 1px rgba(0, 0, 0, 0.3);
/* font-family: 'Fira Code', 'Fira Mono', Menlo, Consolas, 'DejaVu Sans Mono',
monospace; */
font-family: var(--font-jetbrains-mono), -apple-system, 'DejaVu Sans Mono', monospace;
font-family: var(--font-jetbrains-mono), -apple-system, 'DejaVu Sans Mono',
monospace;
direction: ltr;
text-align: left;
white-space: pre;

View File

@ -2,11 +2,7 @@
"compilerOptions": {
"baseUrl": ".",
"target": "es6",
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
@ -26,13 +22,6 @@
}
]
},
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts"
],
"exclude": [
"node_modules"
]
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules"]
}