Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update dev dependancies #199

Merged
merged 11 commits into from
Dec 13, 2024
5 changes: 3 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"prettier",
"plugin:prettier/recommended",
"next",
"plugin:sonarjs/recommended",
"plugin:sonarjs/recommended-legacy",
"plugin:eslint-comments/recommended"
],
"rules": {
Expand Down Expand Up @@ -57,7 +57,8 @@
"jsdoc/require-returns-description": "error",
"jsdoc/check-alignment": "error",
"jsdoc/check-param-names": "error",
"react-hooks/exhaustive-deps": "error"
"react-hooks/exhaustive-deps": "error",
"sonarjs/redundant-type-aliases": "warn"
},
"overrides": [
{
Expand Down
4 changes: 3 additions & 1 deletion .prettierrc.json
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
{}
{
"trailingComma": "es5"
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ export const IconButton = styled(MIconButton, {
& {
background-color: ${white};
border-radius: 50%;
box-shadow: inset 0 0 0 1px ${smokeDark}, 0 1px 0 0 ${black08};
box-shadow:
inset 0 0 0 1px ${smokeDark},
0 1px 0 0 ${black08};
color: ${inkMain};
position: absolute;
top: 50%;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ export const CardPositioner = styled("div")<Props>`

export const Card = styled(MCard)`
border: none;
box-shadow: ${elevation01}, inset 0 0 0 1px ${smokeMain};
box-shadow:
${elevation01},
inset 0 0 0 1px ${smokeMain};
display: flex;
height: 100%;
width: 100%;
Expand Down
4 changes: 1 addition & 3 deletions app/components/common/Figure/figure.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ import { inkLight } from "@databiosphere/findable-ui/lib/styles/common/mixins/co
import { textBodyLarge4002Lines } from "@databiosphere/findable-ui/lib/styles/common/mixins/fonts";
import styled from "@emotion/styled";

interface Props {}

export const Figure = styled.figure<Props>`
export const Figure = styled.figure`
margin: 16px 0;

img {
Expand Down
2 changes: 1 addition & 1 deletion app/utils/seedDatabase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const seedDatabase = async function seedDatabase(
let jsonText;
try {
jsonText = await fsp.readFile(staticLoadFile, "utf8");
} catch (e) {
} catch {
throw new Error(`File ${staticLoadFile} not found for entity ${label}`);
}

Expand Down
Loading
Loading