Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
Signed-off-by: Kaden Emley <[email protected]>
  • Loading branch information
kemley76 committed Jul 10, 2024
1 parent 0292f89 commit 7b234e5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion apps/frontend/src/store/search.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export function lowercaseAll(input: string | string[]): string | string[] {
}

export function valueToSeverity(severity: string): Severity {
if (severities.find(severity => severity === severity.toLowerCase())) {
if (severities.find((severity) => severity === severity.toLowerCase())) {
return severity as Severity;
} else {
return 'none';
Expand Down
14 changes: 7 additions & 7 deletions libs/hdf-converters/src/utils/parseJson.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import {Result} from './result';

type JSONValue =
| string
| number
| boolean
| null
| JSONValue[]
| {[key: string]: JSONValue}
export type JSONValue =
| string
| number
| boolean
| null
| JSONValue[]
| {[key: string]: JSONValue};

export function parseJson(str: string): Result<JSONValue, Error> {
try {
Expand Down

0 comments on commit 7b234e5

Please sign in to comment.