Update space-before-function-paren

This commit is contained in:
Hydroxycarbamide 2022-11-21 10:42:30 +01:00
parent aafc769f33
commit 067247298b
5 changed files with 13 additions and 5 deletions

View file

@ -5,5 +5,9 @@
"extends": [
"next/core-web-vitals",
"standard-with-typescript"
]
],
"rules": {
"space-before-function-paren": "off",
"@typescript-eslint/space-before-function-paren": ["error", "never"]
}
}

4
.vscode/settings.json vendored Normal file
View file

@ -0,0 +1,4 @@
{
"typescript.tsdk": "node_modules/.pnpm/typescript@4.9.3/node_modules/typescript/lib",
"typescript.enablePromptUseWorkspaceTsdk": true
}

View file

@ -1,4 +1,4 @@
export default function Head() {
export default function Head(): JSX.Element {
return (
<>
<title></title>

View file

@ -1,8 +1,8 @@
export default function RootLayout({
children,
children
}: {
children: React.ReactNode
}) {
}): JSX.Element {
return (
<html>
<head />

View file

@ -1,4 +1,4 @@
export default function HomePage (): JSX.Element {
export default function HomePage(): JSX.Element {
return (
<div>Hello World</div>
)