follow docs on typescript, eslint, prettier

This commit is contained in:
Thomas Ruoff
2022-09-08 23:14:20 +02:00
committed by Thomas Ruoff
parent 9082ac5f0f
commit c64a83ef78
7 changed files with 11 additions and 19 deletions

View File

@@ -1,6 +1,3 @@
{
"extends": [
"next/core-web-vitals",
"prettier"
]
"extends": ["next/core-web-vitals", "prettier"]
}

1
.prettierignore Symbolic link
View File

@@ -0,0 +1 @@
.gitignore

7
package-lock.json generated
View File

@@ -42,8 +42,7 @@
"prettier": "2.7.1",
"swr": "1.3.0",
"tailwindcss": "3.1.8",
"ts-jest": "29.0.0",
"typescript": "4.8.3"
"ts-jest": "29.0.0"
}
},
"node_modules/@ampproject/remapping": {
@@ -9455,6 +9454,7 @@
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.3.tgz",
"integrity": "sha512-goMHfm00nWPa8UvR/CPSvykqf6dVV8x/dp0c5mFTMTIu0u0FlGWRioyy7Nn0PGAdHxpJZnuO/ut+PpQ8UiHAig==",
"dev": true,
"peer": true,
"bin": {
"tsc": "bin/tsc",
"tsserver": "bin/tsserver"
@@ -16506,7 +16506,8 @@
"version": "4.8.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.3.tgz",
"integrity": "sha512-goMHfm00nWPa8UvR/CPSvykqf6dVV8x/dp0c5mFTMTIu0u0FlGWRioyy7Nn0PGAdHxpJZnuO/ut+PpQ8UiHAig==",
"dev": true
"dev": true,
"peer": true
},
"unbox-primitive": {
"version": "1.0.1",

View File

@@ -45,8 +45,7 @@
"postcss-preset-env": "7.8.1",
"prettier": "2.7.1",
"swr": "1.3.0",
"tailwindcss": "3.1.8",
"typescript": "4.8.3"
"tailwindcss": "3.1.8"
},
"jest": {
"transform": {

View File

@@ -1,7 +1,3 @@
{
"extends": [
"config:base",
":dependencyDashboard",
":automergeMinor"
]
"extends": ["config:base", ":dependencyDashboard", ":automergeMinor"]
}

View File

@@ -5,16 +5,14 @@
"allowJs": true,
"skipLibCheck": true,
"strict": false,
"forceConsistentCasingInFileNames": false,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"incremental": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true
"jsx": "preserve"
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
"exclude": ["node_modules"]