Skip to content

Latest commit

 

History

History
49 lines (38 loc) · 632 Bytes

ts-config-sourcemap.md

File metadata and controls

49 lines (38 loc) · 632 Bytes

ts-config-sourcemap

Requires compilerOptions.sourceMap and compilerOptions.declarationMap in tsconfig.json to be set to true.

This rule is fixable using the --fix option.

Examples

Good

{
  "compilerOptions": {
    "declarationMap": true,
    "sourceMap": true
  }
}

Bad

{
  "compilerOptions": {
    "declarationMap": false,
    "sourceMap": true
  }
}
{
    "compilerOptions": {
        "sourceMap": true
    }
}
```

```json
{
    "compilerOptions": {}
}
{}