Skip to content

Commit a74e1fe

Browse files
author
Jonah Paten
authored
chore: update dev dependancies (#199)
* 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)
1 parent d113aad commit a74e1fe

File tree

10 files changed

+3785
-3051
lines changed

10 files changed

+3785
-3051
lines changed

.eslintrc.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"prettier",
1515
"plugin:prettier/recommended",
1616
"next",
17-
"plugin:sonarjs/recommended",
17+
"plugin:sonarjs/recommended-legacy",
1818
"plugin:eslint-comments/recommended"
1919
],
2020
"rules": {
@@ -57,7 +57,8 @@
5757
"jsdoc/require-returns-description": "error",
5858
"jsdoc/check-alignment": "error",
5959
"jsdoc/check-param-names": "error",
60-
"react-hooks/exhaustive-deps": "error"
60+
"react-hooks/exhaustive-deps": "error",
61+
"sonarjs/redundant-type-aliases": "warn"
6162
},
6263
"overrides": [
6364
{

.prettierrc.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
{}
1+
{
2+
"trailingComma": "es5"
3+
}

app/components/Home/components/Section/components/SectionHero/components/Carousel/components/Arrow/arrow.styles.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ export const IconButton = styled(MIconButton, {
2626
& {
2727
background-color: ${white};
2828
border-radius: 50%;
29-
box-shadow: inset 0 0 0 1px ${smokeDark}, 0 1px 0 0 ${black08};
29+
box-shadow:
30+
inset 0 0 0 1px ${smokeDark},
31+
0 1px 0 0 ${black08};
3032
color: ${inkMain};
3133
position: absolute;
3234
top: 50%;

app/components/Home/components/Section/components/SectionHero/components/Carousel/components/Cards/cards.styles.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ export const CardPositioner = styled("div")<Props>`
4747

4848
export const Card = styled(MCard)`
4949
border: none;
50-
box-shadow: ${elevation01}, inset 0 0 0 1px ${smokeMain};
50+
box-shadow:
51+
${elevation01},
52+
inset 0 0 0 1px ${smokeMain};
5153
display: flex;
5254
height: 100%;
5355
width: 100%;

app/components/common/Figure/figure.styles.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@ import { inkLight } from "@databiosphere/findable-ui/lib/styles/common/mixins/co
33
import { textBodyLarge4002Lines } from "@databiosphere/findable-ui/lib/styles/common/mixins/fonts";
44
import styled from "@emotion/styled";
55

6-
interface Props {}
7-
8-
export const Figure = styled.figure<Props>`
6+
export const Figure = styled.figure`
97
margin: 16px 0;
108
119
img {

app/utils/seedDatabase.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export const seedDatabase = async function seedDatabase(
2222
let jsonText;
2323
try {
2424
jsonText = await fsp.readFile(staticLoadFile, "utf8");
25-
} catch (e) {
25+
} catch {
2626
throw new Error(`File ${staticLoadFile} not found for entity ${label}`);
2727
}
2828

0 commit comments

Comments
 (0)