-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: add typechecking to instruments and modules (#8238)
* build: add typechecking to instruments/modules * ci: enable typechecking in PR builds * build: bump some vite dependencies * build: fix typechecking errors not showing up in igniter output * build: bump dependencies * fix: type fixes, part 1 * fix: type fixes, part 2 * build: throw non-tsc related error * build: bump eslint related packages and remove unused deps * fix: import and whitespace errors * fix: workaround borked function-paren-newline rule * fix(atsu): default return * fix: Use ApproachType declaration rather than WT-specific type * build: add bundles/ to .eslintignore --------- Co-authored-by: Michael Corcoran <[email protected]> Co-authored-by: Saschl <[email protected]>
- Loading branch information
1 parent
bc03273
commit 7fbfd11
Showing
93 changed files
with
9,915 additions
and
30,165 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,21 @@ | ||
{ | ||
"extends": "../tsconfig.json", | ||
|
||
"compilerOptions": { | ||
"incremental": false /* Enables incremental builds */, | ||
"target": "es2017" /* Specifies the ES2017 target, compatible with Coherent GT */, | ||
"module": "es2015" /* Ensures that modules are at least es2015 */, | ||
"strict": false /* Enables strict type checking, highly recommended but optional */, | ||
"esModuleInterop": true /* Emits additional JS to work with CommonJS modules */, | ||
"skipLibCheck": true /* Skip type checking on library .d.ts files */, | ||
"forceConsistentCasingInFileNames": true /* Ensures correct import casing */, | ||
"moduleResolution": "node" /* Enables compatibility with MSFS SDK bare global imports */, | ||
"jsxFactory": "FSComponent.buildComponent" /* Required for FSComponent framework JSX */, | ||
"jsxFragmentFactory": "FSComponent.Fragment" /* Required for FSComponent framework JSX */, | ||
"jsx": "react" /* Required for FSComponent framework JSX */ | ||
"paths": { | ||
"@datalink/aoc": ["../../../fbw-common/src/systems/datalink/aoc/src/index.ts"], | ||
"@datalink/atc": ["../../../fbw-common/src/systems/datalink/atc/src/index.ts"], | ||
"@datalink/common": ["../../../fbw-common/src/systems/datalink/common/src/index.ts"], | ||
"@datalink/router": ["../../../fbw-common/src/systems/datalink/router/src/index.ts"], | ||
"@failures": ["./failures/src/index.ts"], | ||
"@fmgc/*": ["./fmgc/src/*"], | ||
"@instruments/common/*": ["./instruments/src/Common/*"], | ||
"@localization/*": ["../localization/*"], | ||
"@sentry/*": ["./sentry-client/src/*"], | ||
"@simbridge/*": ["./simbridge-client/src/*"], | ||
"@shared/*": ["./shared/src/*"], | ||
"@tcas/*": ["./tcas/src/*"], | ||
"@typings/*": ["../../../fbw-common/src/typings/*"], | ||
"@flybywiresim/fbw-sdk": ["../../../fbw-common/src/systems/index-no-react.ts"] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.