Skip to content

Latest commit

 

History

History
47 lines (36 loc) · 513 Bytes

File metadata and controls

47 lines (36 loc) · 513 Bytes

ts-config-lib

Requires compilerOptions.lib in tsconfig.json to be set to an empty array.

This rule is fixable using the --fix option.

Examples

Good

{
  "compilerOptions": {
    "lib": []
  }
}

Bad

{
  "compilerOptions": {
    "lib": "exnext"
  }
}
{
  "compilerOptions": {
    "lib": ["esnext", "dom"]
  }
}
{
  "compilerOptions": {}
}
{}