Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 448 Bytes

ts-config-module.md

File metadata and controls

39 lines (29 loc) · 448 Bytes

ts-config-module

Requires compilerOptions.module in tsconfig.json to be set to "es6".

This rule is fixable using the --fix option.

Examples

Good

{
  "compilerOptions": {
    "module": "es6"
  }
}

Bad

{
  "compilerOptions": {
    "module": "es5"
  }
}
{
  "compilerOptions": {}
}
{}