mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Enforce template strings in eslint (#1574)
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
This commit is contained in:
1 parent
07e6df9fdc
commit
335778aeef
52 files changed
+94
-88
No files matched your search
@@ -104,7 +104,7 @@ export class Input extends React.Component<InputProps, State> {
|
||||
const lineHeight = parseFloat(window.getComputedStyle(textArea).lineHeight);
|
||||
const rowsCount = (this.getValue().match(/\n/g) || []).length + 1;
|
||||
const height = lineHeight * Math.min(Math.max(rowsCount, rows), maxRows);
|
||||
textArea.style.height = height + "px";
|
||||
textArea.style.height = `${height}px`;
|
||||
}
|
||||
|
||||
private validationId: string;
|
||||
|
||||
Reference in new issue
Block a user