Skip to content

Commit

Permalink
ignore e2e auto-generated files in tsconfig
Browse files Browse the repository at this point in the history
we don't need to typecheck these auto generated files,
they cause unneccessary errors when running `npm run typecheck`
  • Loading branch information
Harriethw committed Apr 30, 2024
1 parent 11794e9 commit 2d980c8
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,15 @@
"@approved-premises/ui": ["server/@types/ui/index.d.ts"]
}
},
"exclude": ["node_modules", "assets/**/*.js", "integration_tests", "dist", "cypress.config.ts", "coverage/**"],
"exclude": [
"node_modules",
"assets/**/*.js",
"integration_tests",
"dist",
"cypress.config.ts",
"coverage/**",
"e2e-tests/playwright-report",
"e2e-tests/test_results"
],
"include": ["**/*.js", "**/*.ts"]
}

0 comments on commit 2d980c8

Please sign in to comment.