Skip to content

Commit

Permalink
chore(tsconfig.ci.json): add components ready for typechecking
Browse files Browse the repository at this point in the history
Fixes #1113
  • Loading branch information
florian-sanders-cc committed Sep 11, 2024
1 parent 34a5ca3 commit 6c7f4d9
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions tsconfig.ci.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,31 @@
// Every file passing typechecking should be added in the `include` array below
"include": [
"src/lib/**/*.js",
"src/components/**/*.js",
"src/controllers/*.js",
"src/templates/*.js",
"src/translations/**/*.js",
"tasks/typechecking-stats.js",
"tasks/typechecking-stats.js"
],
"exclude": [
"src/lib/leaflet",
"src/lib/pricing.js",
"src/lib/product.js",
"src/components/**/*.test.js",
"src/components/**/*.stories.js",
"src/components/**/*.smart*.js",
"src/components/cc-grafana-info",
"src/components/cc-logs/*",
"src/components/cc-logs-*/*",
"src/components/cc-pricing-*",
"src/components/cc-smart-container/*"
],
"extends": "./tsconfig.json",
"compilerOptions": {
// FIXME:
// This means our `d.ts` files are not checked in CI context
// This needs to be set to `true` at least until we can upgrade TypeScript
// see https://github.com/CleverCloud/clever-components/issues/972
"skipLibCheck": true,
"skipLibCheck": true
}
}

0 comments on commit 6c7f4d9

Please sign in to comment.