CDCgov / cdc-open-viz

CDC OpenViz is a library of React packages for data visualization.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

forceConsistentCasingInFileNames in tsconfig.json

adamdoe opened this issue · comments

It looks like there is an option in typescript for forcing consistent casing in file names. I remember when I initially set this project up with other developers, I had to fix an error because a scss import was written as "datatable" instead of "DataTable" in /chart/src/scss/main.scss using @import "datatable" instead of @import "DataTable" . I'm not sure, but I think adding this key into the tsconfig file could help us avoid case sensitivity file errors. Any thoughts?

"forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */