Skip to content

Commit daeb074

Browse files
Force consistent import naming (#136)
Typescript imports for linux are case sensitive, whereas for windows and mac they are case insensitive by default. This PR forces case sensitivity throughout. Successful run https://github.com/databricks/databricks-vscode/actions/runs/3322081742/jobs/5490608579
1 parent 55a0d9b commit daeb074

File tree

5 files changed

+5
-3
lines changed

5 files changed

+5
-3
lines changed

packages/databricks-sdk-js/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"outDir": "dist",
1414
"strict": true /* enable all strict type-checking options */,
1515
"experimentalDecorators": true,
16-
"emitDecoratorMetadata": true
16+
"emitDecoratorMetadata": true,
17+
"forceConsistentCasingInFileNames": true
1718
},
1819
"include": ["src"]
1920
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export * from "./FileUtils";
1+
export * from "./fileUtils";

packages/databricks-vscode/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"lib": ["ES2020", "ES2021.String"],
99
"sourceMap": true,
1010
"rootDir": "src",
11-
"strict": true /* enable all strict type-checking options */
11+
"strict": true /* enable all strict type-checking options */,
12+
"forceConsistentCasingInFileNames": true
1213
},
1314
"include": ["src"]
1415
}

0 commit comments

Comments
 (0)