···1481148114821482#### coverage.thresholds
1483148314841484-Options for coverage thresholds
14841484+Options for coverage thresholds.
14851485+14861486+If a threshold is set to a positive number, it will be interpreted as the minimum percentage of coverage required. For example, setting the lines threshold to `90` means that 90% of lines must be covered.
14871487+14881488+If a threshold is set to a negative number, it will be treated as the maximum number of uncovered items allowed. For example, setting the lines threshold to `-10` means that no more than 10 lines may be uncovered.
14891489+14901490+<!-- eslint-skip -->
14911491+```ts
14921492+{
14931493+ coverage: {
14941494+ thresholds: {
14951495+ // Requires 90% function coverage
14961496+ functions: 90,
14971497+14981498+ // Require that no more than 10 lines are uncovered
14991499+ lines: -10,
15001500+ }
15011501+ }
15021502+}
15031503+```
1485150414861505##### coverage.thresholds.lines
14871506···14901509- **CLI:** `--coverage.thresholds.lines=<number>`
1491151014921511Global threshold for lines.
14931493-See [istanbul documentation](https://github.com/istanbuljs/nyc#coverage-thresholds) for more information.
1494151214951513##### coverage.thresholds.functions
14961514···14991517- **CLI:** `--coverage.thresholds.functions=<number>`
1500151815011519Global threshold for functions.
15021502-See [istanbul documentation](https://github.com/istanbuljs/nyc#coverage-thresholds) for more information.
1503152015041521##### coverage.thresholds.branches
15051522···15081525- **CLI:** `--coverage.thresholds.branches=<number>`
1509152615101527Global threshold for branches.
15111511-See [istanbul documentation](https://github.com/istanbuljs/nyc#coverage-thresholds) for more information.
1512152815131529##### coverage.thresholds.statements
15141530···15171533- **CLI:** `--coverage.thresholds.statements=<number>`
1518153415191535Global threshold for statements.
15201520-See [istanbul documentation](https://github.com/istanbuljs/nyc#coverage-thresholds) for more information.
1521153615221537##### coverage.thresholds.perFile
15231538···15351550- **Available for providers:** `'v8' | 'istanbul'`
15361551- **CLI:** `--coverage.thresholds.autoUpdate=<boolean>`
1537155215381538-Update all threshold values `lines`, `functions`, `branches` and `statements` to configuration file when current coverage is above the configured thresholds.
15531553+Update all threshold values `lines`, `functions`, `branches` and `statements` to configuration file when current coverage is better than the configured thresholds.
15391554This option helps to maintain thresholds when coverage is improved.
1540155515411556##### coverage.thresholds.100