File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change 3838 output_file : temp/extracted-code.ts
3939 block_number : 2 # Quickstart
4040
41+ - name : Create temporary tsconfig.json
42+ run : |
43+ cat > temp/tsconfig.json << EOF
44+ {
45+ "compilerOptions": {
46+ "target": "ES2020",
47+ "module": "commonjs",
48+ "strict": true,
49+ "esModuleInterop": true,
50+ "skipLibCheck": true,
51+ "forceConsistentCasingInFileNames": true,
52+ "noImplicitAny": true,
53+ "strictNullChecks": true,
54+ "noUnusedLocals": true,
55+ "noUnusedParameters": true,
56+ "noImplicitReturns": true,
57+ "noFallthroughCasesInSwitch": true
58+ },
59+ "include": ["*.ts"]
60+ }
61+ EOF
62+
63+ - name : Check TypeScript compilation
64+ run : npx tsc --noEmit --project temp/tsconfig.json
65+
4166 - name : Lint extracted examples
4267 run : npx eslint temp/*.ts --config .eslintrc
4368
You can’t perform that action at this time.
0 commit comments