mirror of
https://github.com/DefectingCat/DefectingCat.github.io
synced 2025-07-16 01:01:38 +00:00
format code
remove end of line
This commit is contained in:
@ -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,
|
||||
|
@ -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;
|
||||
|
@ -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"]
|
||||
}
|
||||
|
Reference in New Issue
Block a user