on master help sign in
set prettier to warn; finish TS config
b43ec9ctomholford
.eslintrc+1−1
@@ -9,6 +9,6 @@
9 "react-hooks"
9 "react-hooks"
10 ],
10 ],
11 "rules": {
11 "rules": {
12− "prettier/prettier": "error"
12+ "prettier/prettier": "warn"
13 }
13 }
14}
14}
jsconfig.jsondeleted−5
@@ -1,5 +0,0 @@
1−{
2− "compilerOptions": {
3− "baseUrl": "src"
4− }
5−}
src/react-app-env.d.tsnew file+1
@@ -0,0 +1 @@
1+/// <reference types="react-scripts" />
tsconfig.jsonnew file+27
@@ -0,0 +1,27 @@
1+{
2+ "compilerOptions": {
3+ "target": "es5",
4+ "lib": [
5+ "dom",
6+ "dom.iterable",
7+ "esnext"
8+ ],
9+ "allowJs": true,
10+ "baseUrl": "src",
11+ "skipLibCheck": true,
12+ "esModuleInterop": true,
13+ "allowSyntheticDefaultImports": true,
14+ "strict": true,
15+ "forceConsistentCasingInFileNames": true,
16+ "noFallthroughCasesInSwitch": true,
17+ "module": "esnext",
18+ "moduleResolution": "node",
19+ "resolveJsonModule": true,
20+ "isolatedModules": true,
21+ "noEmit": true,
22+ "jsx": "react-jsx"
23+ },
24+ "include": [
25+ "src"
26+ ]
27+}