Skip to content

Commit

Permalink
fix(linter): fix empty function
Browse files Browse the repository at this point in the history
update(linters): fix empty function
  • Loading branch information
oyo authored Oct 20, 2023
2 parents 32eee28 + 663b538 commit f218a96
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 8 deletions.
1 change: 0 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
"react/react-in-jsx-scope": 0,
"@typescript-eslint/comma-dangle": 0,
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/no-empty-function": 0,
"@typescript-eslint/no-unsafe-argument": 0,
"@typescript-eslint/no-unsafe-assignment": 0,
"@typescript-eslint/no-unsafe-call": 0,
Expand Down
7 changes: 5 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
# Changelog


## 2.1.8

- Fix more linter findings

## 2.1.7

- Linter findings
- Fix ban-types
- Fix linter findings

## 2.1.6

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@catena-x/portal-shared-components",
"version": "2.1.9",
"version": "2.1.8",
"description": "Catena-X Portal Shared Components",
"author": "Catena-X Contributors",
"license": "Apache-2.0",
Expand Down
4 changes: 3 additions & 1 deletion src/components/basic/CategoryDivider/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ export const CategoryDivider = ({
categoryItemsLength,
categoryName,
disabled = false,
onButtonClick = () => {},
onButtonClick = () => {
// do nothing
},
}: CategoryDividerProps) => {
return (
<Box
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ import { IconButton } from '../../basic/IconButton'

export const TextCenterAlignedBody2 = ({
provider,
scrollTop = () => {},
scrollTop = () => {
// do nothing
},
showScroll = true,
}: {
provider: ProviderProps
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ import { ImageVideoWrapper } from './components/ImageVideoWrapper'

export const TextVideoSideBySide = ({
provider,
scrollTop = () => {},
scrollTop = () => {
// do nothing
},
showScroll = true,
}: {
provider: ProviderProps
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ import { IconButton } from '../../basic/IconButton'

export const VideoTextSideBySide = ({
provider,
scrollTop = () => {},
scrollTop = () => {
// do nothing
},
showScroll = true,
}: {
provider: ProviderProps
Expand Down

0 comments on commit f218a96

Please sign in to comment.