diff options
Diffstat (limited to 'src/components/ui')
-rw-r--r-- | src/components/ui/Link.tsx | 1 | ||||
-rw-r--r-- | src/components/ui/Radio.tsx | 1 | ||||
-rw-r--r-- | src/components/ui/button/index.tsx | 1 | ||||
-rw-r--r-- | src/components/ui/input/index.tsx | 1 | ||||
-rw-r--r-- | src/components/ui/select/index.tsx | 1 | ||||
-rw-r--r-- | src/components/ui/textarea/index.tsx | 2 | ||||
-rw-r--r-- | src/components/ui/toggle/index.tsx | 1 |
7 files changed, 8 insertions, 0 deletions
diff --git a/src/components/ui/Link.tsx b/src/components/ui/Link.tsx index a9a429d3a..f9fdd57f9 100644 --- a/src/components/ui/Link.tsx +++ b/src/components/ui/Link.tsx | |||
@@ -54,6 +54,7 @@ class Link extends Component<IProps> { | |||
54 | }); | 54 | }); |
55 | 55 | ||
56 | return ( | 56 | return ( |
57 | // biome-ignore lint/a11y/useValidAnchor: <explanation> | ||
57 | <a | 58 | <a |
58 | href={router.history.createHref(to)} | 59 | href={router.history.createHref(to)} |
59 | className={linkClasses} | 60 | className={linkClasses} |
diff --git a/src/components/ui/Radio.tsx b/src/components/ui/Radio.tsx index 1f41deedc..901958c78 100644 --- a/src/components/ui/Radio.tsx +++ b/src/components/ui/Radio.tsx | |||
@@ -2,6 +2,7 @@ import { Component } from 'react'; | |||
2 | import { observer } from 'mobx-react'; | 2 | import { observer } from 'mobx-react'; |
3 | import classnames from 'classnames'; | 3 | import classnames from 'classnames'; |
4 | import FieldInterface from 'mobx-react-form/lib/models/FieldInterface'; | 4 | import FieldInterface from 'mobx-react-form/lib/models/FieldInterface'; |
5 | // biome-ignore lint/suspicious/noShadowRestrictedNames: <explanation> | ||
5 | import Error from './error'; | 6 | import Error from './error'; |
6 | 7 | ||
7 | type Props = { | 8 | type Props = { |
diff --git a/src/components/ui/button/index.tsx b/src/components/ui/button/index.tsx index f8bcf76b2..a2194e34d 100644 --- a/src/components/ui/button/index.tsx +++ b/src/components/ui/button/index.tsx | |||
@@ -205,6 +205,7 @@ class ButtonComponent extends Component<IProps, IState> { | |||
205 | ); | 205 | ); |
206 | 206 | ||
207 | const wrapperComponent = href ? ( | 207 | const wrapperComponent = href ? ( |
208 | // biome-ignore lint/a11y/useValidAnchor: <explanation> | ||
208 | <a | 209 | <a |
209 | href={href} | 210 | href={href} |
210 | target={target} | 211 | target={target} |
diff --git a/src/components/ui/input/index.tsx b/src/components/ui/input/index.tsx index 064c1807f..68cc9ee22 100644 --- a/src/components/ui/input/index.tsx +++ b/src/components/ui/input/index.tsx | |||
@@ -14,6 +14,7 @@ import { observer } from 'mobx-react'; | |||
14 | import { defineMessages, injectIntl, WrappedComponentProps } from 'react-intl'; | 14 | import { defineMessages, injectIntl, WrappedComponentProps } from 'react-intl'; |
15 | import Icon from '../icon'; | 15 | import Icon from '../icon'; |
16 | import { IFormField } from '../typings/generic'; | 16 | import { IFormField } from '../typings/generic'; |
17 | // biome-ignore lint/suspicious/noShadowRestrictedNames: <explanation> | ||
17 | import Error from '../error'; | 18 | import Error from '../error'; |
18 | import Label from '../label'; | 19 | import Label from '../label'; |
19 | import Wrapper from '../wrapper'; | 20 | import Wrapper from '../wrapper'; |
diff --git a/src/components/ui/select/index.tsx b/src/components/ui/select/index.tsx index 650600fb3..c06ac59b0 100644 --- a/src/components/ui/select/index.tsx +++ b/src/components/ui/select/index.tsx | |||
@@ -10,6 +10,7 @@ import withStyles, { WithStylesProps } from 'react-jss'; | |||
10 | import { noop } from 'lodash'; | 10 | import { noop } from 'lodash'; |
11 | import { Theme } from '../../../themes'; | 11 | import { Theme } from '../../../themes'; |
12 | import { IFormField } from '../typings/generic'; | 12 | import { IFormField } from '../typings/generic'; |
13 | // biome-ignore lint/suspicious/noShadowRestrictedNames: <explanation> | ||
13 | import Error from '../error'; | 14 | import Error from '../error'; |
14 | import Label from '../label'; | 15 | import Label from '../label'; |
15 | import Wrapper from '../wrapper'; | 16 | import Wrapper from '../wrapper'; |
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'; | |||
5 | import { noop } from 'lodash'; | 5 | import { noop } from 'lodash'; |
6 | import { IFormField } from '../typings/generic'; | 6 | import { IFormField } from '../typings/generic'; |
7 | 7 | ||
8 | // biome-ignore lint/suspicious/noShadowRestrictedNames: <explanation> | ||
8 | import Error from '../error'; | 9 | import Error from '../error'; |
9 | import Label from '../label'; | 10 | import Label from '../label'; |
10 | import Wrapper from '../wrapper'; | 11 | import Wrapper from '../wrapper'; |
@@ -40,6 +41,7 @@ class TextareaComponent extends Component<IProps> { | |||
40 | 41 | ||
41 | if (this.textareaRef?.current && data) { | 42 | if (this.textareaRef?.current && data) { |
42 | Object.keys(data).map( | 43 | Object.keys(data).map( |
44 | // biome-ignore lint/suspicious/noAssignInExpressions: <explanation> | ||
43 | key => (this.textareaRef.current!.dataset[key] = data[key]), | 45 | key => (this.textareaRef.current!.dataset[key] = data[key]), |
44 | ); | 46 | ); |
45 | } | 47 | } |
diff --git a/src/components/ui/toggle/index.tsx b/src/components/ui/toggle/index.tsx index 275d28bf6..878ffecdc 100644 --- a/src/components/ui/toggle/index.tsx +++ b/src/components/ui/toggle/index.tsx | |||
@@ -4,6 +4,7 @@ import { noop } from 'lodash'; | |||
4 | import { Component, InputHTMLAttributes, ReactElement } from 'react'; | 4 | import { Component, InputHTMLAttributes, ReactElement } from 'react'; |
5 | import withStyles, { WithStylesProps } from 'react-jss'; | 5 | import withStyles, { WithStylesProps } from 'react-jss'; |
6 | import { Theme } from '../../../themes'; | 6 | import { Theme } from '../../../themes'; |
7 | // biome-ignore lint/suspicious/noShadowRestrictedNames: <explanation> | ||
7 | import Error from '../error'; | 8 | import Error from '../error'; |
8 | import Label from '../label'; | 9 | import Label from '../label'; |
9 | import { IFormField } from '../typings/generic'; | 10 | import { IFormField } from '../typings/generic'; |