Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 576 Bytes

ts-config-forceconsistentcasinginfilenames.md

File metadata and controls

39 lines (29 loc) · 576 Bytes

ts-config-forceconsistentcasinginfilenames

Requires compilerOptions.forceConsistentCasingInFileNames in tsconfig.json to be set to true.

This rule is fixable using the --fix option.

Examples

Good

{
  "compilerOptions": {
    "forceConsistentCasingInFileNames": true
  }
}

Bad

{
  "compilerOptions": {
    "forceConsistentCasingInFileNames": false
  }
}
{
  "compilerOptions": {}
}
{}