Skip to content

Commit fccd437

Browse files
committed
chore: lint
1 parent c57c2fb commit fccd437

File tree

5 files changed

+47
-47
lines changed

5 files changed

+47
-47
lines changed

Diff for: .github/workflows/main.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: CI
22
on:
33
push:
4-
branches: ["main"]
4+
branches: [main]
55
workflow_dispatch:
66

77
jobs:
@@ -33,5 +33,5 @@ jobs:
3333
external_repository: Debbl/tools.aiwan.run
3434
exclude_assets: ".github, .nojekyll"
3535
publish_branch: main
36-
publish_dir: out
37-
destination_dir: "code-diff"
36+
publish_dir: out
37+
destination_dir: code-diff

Diff for: package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"dev": "next dev",
77
"build": "next build",
88
"start": "next start",
9-
"lint": "next lint . --ignore-path .gitignore",
10-
"lint:fix": "next lint . --fix --ignore-path .gitignore"
9+
"lint": "eslint . --ignore-path .gitignore",
10+
"lint:fix": "eslint . --fix --ignore-path .gitignore"
1111
},
1212
"dependencies": {
1313
"@debbl/ahooks": "0.0.7",
@@ -20,7 +20,7 @@
2020
"zustand": "^4.4.1"
2121
},
2222
"devDependencies": {
23-
"@debbl/eslint-config": "^0.0.58",
23+
"@debbl/eslint-config": "^0.0.62",
2424
"@iconify/icons-carbon": "^1.2.20",
2525
"@iconify/react": "^4.1.1",
2626
"@types/node": "20.5.9",

Diff for: pnpm-lock.yaml

+30-30
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: src/app/layout.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export default function RootLayout({
1212
<title>code-diff</title>
1313
<link
1414
rel="shortcut icon"
15-
href={`${basePath}/logo.svg`}
15+
href={`${basePath!}/logo.svg`}
1616
type="image/x-icon"
1717
/>
1818
</head>

Diff for: tsconfig.json

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
{
22
"compilerOptions": {
3+
"incremental": true,
34
"target": "ES5",
45
"lib": ["DOM", "DOM.Iterable", "ESNext"],
5-
"allowJs": true,
6-
"skipLibCheck": true,
7-
"strict": true,
8-
"forceConsistentCasingInFileNames": true,
9-
"noEmit": true,
10-
"esModuleInterop": true,
6+
"jsx": "preserve",
117
"module": "ESNext",
128
"moduleResolution": "node",
13-
"resolveJsonModule": true,
14-
"isolatedModules": true,
15-
"jsx": "preserve",
16-
"incremental": true,
179
"paths": {
1810
"~/*": ["./src/*"]
1911
},
12+
"resolveJsonModule": true,
13+
"allowJs": true,
14+
"noEmit": true,
15+
"isolatedModules": true,
16+
"esModuleInterop": true,
17+
"forceConsistentCasingInFileNames": true,
18+
"strict": true,
19+
"skipLibCheck": true,
2020
"plugins": [
2121
{
2222
"name": "next"

0 commit comments

Comments
 (0)