Skip to content

Commit

Permalink
chore: update dev dependancies (#199)
Browse files Browse the repository at this point in the history
* chore: updated typescript (#195)

* chore: updated linting plugins (#195)

* chore: updated linters (#195)

* chore: updated prettier (#195)

* chore: updated commitlint (#195)

* chore: updated eslint-plugin-next (#195)

* chore: updated playwright (#195)

* chore: updated babel-loader (#195)

* chore: updated csv-parse, ran database script (#195)

* chore: updated husky (#195)

* chore: removed empty Props interface from figure.styles.tsx (#195)
  • Loading branch information
jpaten authored Dec 13, 2024
1 parent d113aad commit a74e1fe
Show file tree
Hide file tree
Showing 10 changed files with 3,785 additions and 3,051 deletions.
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

0 comments on commit a74e1fe

Please sign in to comment.