Skip to content

Commit

Permalink
refactor: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-aksamentov committed Feb 19, 2023
1 parent 3cab0a6 commit 733b809
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions web/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,8 @@ module.exports = {
'next.config.js',
'postcss.config.js',
'stylelint.config.js',
'tools/**/*.js',
'tools/**/*.ts',
'webpack.config.js',
],
rules: {
Expand Down
1 change: 0 additions & 1 deletion web/src/components/Sidebar/SidebarSectionVariants.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ export function VariantsSelectAll({ pathogen }: VariantsSelectAllProps) {
}

export function VariantsCheckbox({ variant }: { variant: string }) {
const { t } = useTranslationSafe()
const pathogen = useRecoilValue(pathogenAtom)
const { color } = useVariantStyle(pathogen.name, variant)
const [variantEnabled, setVariantEnabled] = useRecoilState(variantAtom({ pathogen: pathogen.name, variant }))
Expand Down
2 changes: 1 addition & 1 deletion web/src/helpers/fuzzySearch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export function fuzzySearch(items: string[], searchTerm: string) {
return fuse.search(searchTerm)
}

export function fuzzySearchObj<T extends Record<string, any>>(
export function fuzzySearchObj<T extends Record<string, unknown>>(
items: T[],
keys: (keyof T & string)[],
searchTerm: string,
Expand Down
2 changes: 1 addition & 1 deletion web/tools/server/dataServer.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* eslint-disable unicorn/no-process-exit,unicorn/prefer-module */
/* eslint-disable unicorn/no-process-exit */
/**
* Serves production build artifacts.
*
Expand Down

1 comment on commit 733b809

@vercel
Copy link

@vercel vercel bot commented on 733b809 Feb 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

flu-frequencies – ./

flu-frequencies-neherlab.vercel.app
flu-frequencies-git-web-neherlab.vercel.app
flu-frequencies.vercel.app

Please sign in to comment.