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": [ "extends": ["next/core-web-vitals", "prettier"]
"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", "prettier": "2.7.1",
"swr": "1.3.0", "swr": "1.3.0",
"tailwindcss": "3.1.8", "tailwindcss": "3.1.8",
"ts-jest": "29.0.0", "ts-jest": "29.0.0"
"typescript": "4.8.3"
} }
}, },
"node_modules/@ampproject/remapping": { "node_modules/@ampproject/remapping": {
@@ -9455,6 +9454,7 @@
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.3.tgz", "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.3.tgz",
"integrity": "sha512-goMHfm00nWPa8UvR/CPSvykqf6dVV8x/dp0c5mFTMTIu0u0FlGWRioyy7Nn0PGAdHxpJZnuO/ut+PpQ8UiHAig==", "integrity": "sha512-goMHfm00nWPa8UvR/CPSvykqf6dVV8x/dp0c5mFTMTIu0u0FlGWRioyy7Nn0PGAdHxpJZnuO/ut+PpQ8UiHAig==",
"dev": true, "dev": true,
"peer": true,
"bin": { "bin": {
"tsc": "bin/tsc", "tsc": "bin/tsc",
"tsserver": "bin/tsserver" "tsserver": "bin/tsserver"
@@ -16506,7 +16506,8 @@
"version": "4.8.3", "version": "4.8.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.3.tgz", "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.3.tgz",
"integrity": "sha512-goMHfm00nWPa8UvR/CPSvykqf6dVV8x/dp0c5mFTMTIu0u0FlGWRioyy7Nn0PGAdHxpJZnuO/ut+PpQ8UiHAig==", "integrity": "sha512-goMHfm00nWPa8UvR/CPSvykqf6dVV8x/dp0c5mFTMTIu0u0FlGWRioyy7Nn0PGAdHxpJZnuO/ut+PpQ8UiHAig==",
"dev": true "dev": true,
"peer": true
}, },
"unbox-primitive": { "unbox-primitive": {
"version": "1.0.1", "version": "1.0.1",

View File

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

View File

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

View File

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