Skip to content

Commit 56b6f2b

Browse files
authored
chore: enable no-floating-decimal eslint rule (#524)
### Description Of Changes Enabled [no-floating-decimal](https://eslint.org/docs/latest/rules/no-floating-decimal#rule-details) eslint rule off-ed previously.
1 parent b7f1280 commit 56b6f2b

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.eslintrc.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
}
4747
],
4848
// TODO(Ahyoung): fix and remove one by one
49-
"no-floating-decimal": "off",
5049
"no-shadow": "off",
5150
"no-else-return": "off",
5251
"no-param-reassign": "off",

src/modules/CreateChannel/components/InviteUsers/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export interface InviteUsersProps {
2929
const appHeight = () => {
3030
try {
3131
const doc = document.documentElement;
32-
doc.style.setProperty('--sendbird-vh', (window.innerHeight * .01) + 'px');
32+
doc.style.setProperty('--sendbird-vh', (window.innerHeight * 0.01) + 'px');
3333
} catch {
3434
//
3535
}

0 commit comments

Comments
 (0)