diff options
author | 2023-12-04 08:52:48 -0700 | |
---|---|---|
committer | 2023-12-04 08:52:48 -0700 | |
commit | 3fc8706007d896dcbde69c0ce924a6a5eb66aba6 (patch) | |
tree | 008bbcfc14d819cd2f744eb16607b6aa9c4ad0bf /src/components/ui/Link.tsx | |
parent | chore: project maintenance (#1466) (diff) | |
download | ferdium-app-3fc8706007d896dcbde69c0ce924a6a5eb66aba6.tar.gz ferdium-app-3fc8706007d896dcbde69c0ce924a6a5eb66aba6.tar.zst ferdium-app-3fc8706007d896dcbde69c0ce924a6a5eb66aba6.zip |
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
Diffstat (limited to 'src/components/ui/Link.tsx')
-rw-r--r-- | src/components/ui/Link.tsx | 1 |
1 files changed, 1 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} |