diff --git a/.gitignore b/.gitignore index 3c60fa6..d560286 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. vercel.json *.env* +.vscode # dependencies /node_modules diff --git a/.prettierrc b/.prettierrc index 222861c..19f5944 100644 --- a/.prettierrc +++ b/.prettierrc @@ -1,4 +1,13 @@ { - "tabWidth": 2, - "useTabs": false + "singleQuote": true, + "printWidth": 80, + "editor.formatOnSave": true, + "proseWrap": "always", + "tabWidth": 2, + "requireConfig": false, + "useTabs": true, + "trailingComma": "none", + "bracketSpacing": true, + "jsxBracketSameLine": false, + "semi": true } diff --git a/tsconfig.json b/tsconfig.json index 2159bf4..828190b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,24 +1,25 @@ { - "compilerOptions": { - "target": "es5", - "lib": ["dom", "dom.iterable", "esnext"], - "allowJs": true, - "skipLibCheck": true, - "strict": true, - "forceConsistentCasingInFileNames": true, - "noEmit": true, - "esModuleInterop": true, - "module": "esnext", - "moduleResolution": "node", - "resolveJsonModule": true, - "isolatedModules": true, - "jsx": "preserve", - "incremental": true, - "baseUrl": ".", - "paths": { - "@/*": ["./src/*"] - } - }, - "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"], - "exclude": ["node_modules"] + "compilerOptions": { + "target": "ES2016", + "lib": ["dom", "dom.iterable", "esnext"], + "allowJs": true, + "skipLibCheck": true, + "strict": true, + "strictNullChecks": true, + "forceConsistentCasingInFileNames": true, + "noEmit": true, + "esModuleInterop": true, + "module": "esnext", + "moduleResolution": "node", + "resolveJsonModule": true, + "isolatedModules": true, + "jsx": "preserve", + "incremental": true, + "baseUrl": ".", + "paths": { + "@/*": ["./src/*"] + } + }, + "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"], + "exclude": ["node_modules"] }