Skip to content

Commit 1b2de35

Browse files
authored
Adds deprecation warning on show_value.right_margin (#209)
1 parent afbc113 commit 1b2de35

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/parse-config/deprecations.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ function _getDeprecationError(path: string, value: any) {
2121
}
2222
if (path.match(/^entities\.\d+\.lambda$/))
2323
return "removed in v3.0.0, use filters instead";
24+
if (path.match(/^entities\.\d+\.show_value\.right_margin$/))
25+
return "removed in v3.0.0, use `true` and set the global `time_offset` or `layout.margins.r` to make space at the right. ";
2426
if (path.match(/^significant_changes_only$/))
2527
return "removed in v3.0.0, it is now always set to false";
2628
if (path.match(/^minimal_response$/))

0 commit comments

Comments
 (0)