Update space-before-function-paren
This commit is contained in:
parent
aafc769f33
commit
067247298b
5 changed files with 13 additions and 5 deletions
|
@ -5,5 +5,9 @@
|
||||||
"extends": [
|
"extends": [
|
||||||
"next/core-web-vitals",
|
"next/core-web-vitals",
|
||||||
"standard-with-typescript"
|
"standard-with-typescript"
|
||||||
]
|
],
|
||||||
|
"rules": {
|
||||||
|
"space-before-function-paren": "off",
|
||||||
|
"@typescript-eslint/space-before-function-paren": ["error", "never"]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
4
.vscode/settings.json
vendored
Normal file
4
.vscode/settings.json
vendored
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
{
|
||||||
|
"typescript.tsdk": "node_modules/.pnpm/typescript@4.9.3/node_modules/typescript/lib",
|
||||||
|
"typescript.enablePromptUseWorkspaceTsdk": true
|
||||||
|
}
|
|
@ -1,4 +1,4 @@
|
||||||
export default function Head() {
|
export default function Head(): JSX.Element {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<title></title>
|
<title></title>
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
export default function RootLayout({
|
export default function RootLayout({
|
||||||
children,
|
children
|
||||||
}: {
|
}: {
|
||||||
children: React.ReactNode
|
children: React.ReactNode
|
||||||
}) {
|
}): JSX.Element {
|
||||||
return (
|
return (
|
||||||
<html>
|
<html>
|
||||||
<head />
|
<head />
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
export default function HomePage (): JSX.Element {
|
export default function HomePage(): JSX.Element {
|
||||||
return (
|
return (
|
||||||
<div>Hello World</div>
|
<div>Hello World</div>
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue