Skip to content

Commit

Permalink
chore: use uniform es target for all code (#8840)
Browse files Browse the repository at this point in the history
  • Loading branch information
tracernz authored Aug 25, 2024
1 parent f937978 commit 86c0190
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion fbw-a32nx/src/systems/atsu/fmsclient/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"moduleResolution": "node",
"target": "ESNext",
"target": "es2017" /* Specifies the ES2017 target, compatible with Coherent GT */,
"noEmit": true,
"typeRoots": [
"../../../../fbw-common/src/typings",
Expand Down
2 changes: 1 addition & 1 deletion fbw-a32nx/src/systems/failures/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
"target": "ESNext",
"target": "es2017" /* Specifies the ES2017 target, compatible with Coherent GT */,
"noEmit": true,
"moduleResolution": "node",
// Babel assumes isolated modules, therefore enable it here as well.
Expand Down
2 changes: 1 addition & 1 deletion fbw-a32nx/src/systems/sentry-client/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"extends": "../tsconfig.json",
"compilerOptions": {
"moduleResolution": "node",
"target": "ESNext",
"target": "es2017" /* Specifies the ES2017 target, compatible with Coherent GT */,
"noEmit": true,
"typeRoots": [
"../../../../fbw-common/src/typings",
Expand Down
2 changes: 1 addition & 1 deletion fbw-a32nx/src/systems/simbridge-client/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"extends": "../tsconfig.json",
"compilerOptions": {
"moduleResolution": "node",
"target": "ESNext",
"target": "es2017" /* Specifies the ES2017 target, compatible with Coherent GT */,
"noEmit": true,
"typeRoots": [
"../../../../fbw-common/src/typings",
Expand Down
2 changes: 1 addition & 1 deletion fbw-a32nx/src/systems/tcas/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"extends": "../tsconfig.json",
"compilerOptions": {
"moduleResolution": "node",
"target": "ESNext",
"target": "es2017" /* Specifies the ES2017 target, compatible with Coherent GT */,
"noEmit": true,
"typeRoots": [
"../../../../fbw-common/src/typings",
Expand Down
2 changes: 1 addition & 1 deletion fbw-a32nx/src/systems/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"compilerOptions": {
"target": "ES2017",
"target": "es2017" /* Specifies the ES2017 target, compatible with Coherent GT */,
"baseUrl": ".",
"resolveJsonModule" : true,
"skipLibCheck": true,
Expand Down
2 changes: 1 addition & 1 deletion fbw-a380x/src/systems/atsu/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"extends": "../tsconfig.json",
"compilerOptions": {
"moduleResolution": "node",
"target": "ESNext",
"target": "es2017" /* Specifies the ES2017 target, compatible with Coherent GT */,
"noEmit": true,
"typeRoots": [
"../../typings",
Expand Down
2 changes: 1 addition & 1 deletion fbw-a380x/src/systems/failures/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
"target": "ESNext",
"target": "es2017" /* Specifies the ES2017 target, compatible with Coherent GT */,
"noEmit": true,
"moduleResolution": "node",
// Babel assumes isolated modules, therefore enable it here as well.
Expand Down
2 changes: 1 addition & 1 deletion fbw-a380x/src/systems/tcas/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"extends": "../tsconfig.json",
"compilerOptions": {
"moduleResolution": "node",
"target": "ESNext",
"target": "es2017" /* Specifies the ES2017 target, compatible with Coherent GT */,
"noEmit": true,
"typeRoots": [
"../../typings",
Expand Down
2 changes: 1 addition & 1 deletion fbw-a380x/src/systems/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"compilerOptions": {
"target": "ES2017",
"target": "es2017" /* Specifies the ES2017 target, compatible with Coherent GT */,
"baseUrl": ".",
"resolveJsonModule" : true,
"skipLibCheck": true,
Expand Down
2 changes: 1 addition & 1 deletion fbw-common/src/systems/datalink/aoc/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"moduleResolution": "node",
"target": "ESNext",
"target": "es2017" /* Specifies the ES2017 target, compatible with Coherent GT */,
"noEmit": true,
"typeRoots": [
"../../../typings",
Expand Down
2 changes: 1 addition & 1 deletion fbw-common/src/systems/datalink/atc/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"moduleResolution": "node",
"target": "ESNext",
"target": "es2017" /* Specifies the ES2017 target, compatible with Coherent GT */,
"noEmit": true,
"typeRoots": [
"../../../typings",
Expand Down
2 changes: 1 addition & 1 deletion fbw-common/src/systems/datalink/router/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"moduleResolution": "node",
"target": "ESNext",
"target": "es2017" /* Specifies the ES2017 target, compatible with Coherent GT */,
"noEmit": true,
"typeRoots": [
"../../../typings",
Expand Down
2 changes: 1 addition & 1 deletion fbw-common/src/systems/navdata/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"extends": "../tsconfig.json",

"compilerOptions": {
"target": "ESNext",
"target": "es2017" /* Specifies the ES2017 target, compatible with Coherent GT */,
"strict": true,
"forceConsistentCasingInFileNames": true,
}
Expand Down
2 changes: 1 addition & 1 deletion fbw-common/src/systems/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"compilerOptions": {
"target": "ES2017",
"target": "es2017" /* Specifies the ES2017 target, compatible with Coherent GT */,
"baseUrl": ".",
"resolveJsonModule" : true,
"typeRoots": [
Expand Down

0 comments on commit 86c0190

Please sign in to comment.