Requires compilerOptions.lib
in tsconfig.json
to be set to an empty array.
This rule is fixable using the --fix
option.
{
"compilerOptions": {
"lib": []
}
}
{
"compilerOptions": {
"lib": "exnext"
}
}
{
"compilerOptions": {
"lib": ["esnext", "dom"]
}
}
{
"compilerOptions": {}
}
{}