Skip to content

Commit

Permalink
Adds deprecation warning on show_value.right_margin (#209)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbuezas authored Jan 30, 2023
1 parent afbc113 commit 1b2de35
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/parse-config/deprecations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ function _getDeprecationError(path: string, value: any) {
}
if (path.match(/^entities\.\d+\.lambda$/))
return "removed in v3.0.0, use filters instead";
if (path.match(/^entities\.\d+\.show_value\.right_margin$/))
return "removed in v3.0.0, use `true` and set the global `time_offset` or `layout.margins.r` to make space at the right. ";
if (path.match(/^significant_changes_only$/))
return "removed in v3.0.0, it is now always set to false";
if (path.match(/^minimal_response$/))
Expand Down

0 comments on commit 1b2de35

Please sign in to comment.