From 3fc8706007d896dcbde69c0ce924a6a5eb66aba6 Mon Sep 17 00:00:00 2001 From: MCMXC <16797721+mcmxcdev@users.noreply.github.com> Date: Mon, 4 Dec 2023 08:52:48 -0700 Subject: refactor: implement biome (#1467) - add `biome.json` - add `biome:check` and `biome:check:fix` commands to `package.json` - add `biome:check:fix` command to run as part of `prepare-code` command - install `@biomejs/biome` dependency - add `@npmcli/move-file` v2.0.1 to `pnpm.allowedDeprecatedVersions` - fix or comment out various reported lint issues --- src/components/ui/textarea/index.tsx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/components/ui/textarea/index.tsx') diff --git a/src/components/ui/textarea/index.tsx b/src/components/ui/textarea/index.tsx index fbdef7fc6..0967c4c25 100644 --- a/src/components/ui/textarea/index.tsx +++ b/src/components/ui/textarea/index.tsx @@ -5,6 +5,7 @@ import injectSheet, { WithStylesProps } from 'react-jss'; import { noop } from 'lodash'; import { IFormField } from '../typings/generic'; +// biome-ignore lint/suspicious/noShadowRestrictedNames: import Error from '../error'; import Label from '../label'; import Wrapper from '../wrapper'; @@ -40,6 +41,7 @@ class TextareaComponent extends Component { if (this.textareaRef?.current && data) { Object.keys(data).map( + // biome-ignore lint/suspicious/noAssignInExpressions: key => (this.textareaRef.current!.dataset[key] = data[key]), ); } -- cgit v1.2.3-70-g09d2