Skip to content

Latest commit

 

History

History
47 lines (36 loc) · 550 Bytes

ts-config-exclude.md

File metadata and controls

47 lines (36 loc) · 550 Bytes

ts-config-exclude

Requires compilerOptions.exclude in tsconfig.json to include node_modules.

This rule is fixable using the --fix option.

Examples

Good

{
  "compilerOptions": {
    "exclude": ["node_modules"]
  }
}
{
  "compilerOptions": {
    "exclude": ["node_modules", "test"]
  }
}

Bad

{
  "compilerOptions": {
    "exclude": []
  }
}
{
  "compilerOptions": {}
}
{}