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 password = process.env.NEXT_PUBLIC_GITHUB_API;
const host = process.env.NEXT_PUBLIC_GISTS_HOST ?? 'https://api.github.com'; 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({ const octokit = new Octokit({
auth: password, auth: password,
baseUrl: host, baseUrl: host,

View File

@ -35,7 +35,8 @@
text-shadow: 0 1px rgba(0, 0, 0, 0.3); text-shadow: 0 1px rgba(0, 0, 0, 0.3);
/* font-family: 'Fira Code', 'Fira Mono', Menlo, Consolas, 'DejaVu Sans Mono', /* font-family: 'Fira Code', 'Fira Mono', Menlo, Consolas, 'DejaVu Sans Mono',
monospace; */ 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; direction: ltr;
text-align: left; text-align: left;
white-space: pre; white-space: pre;

View File

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