ref(eslint) Use new TypeScript ESlint config (#12143)

Use new TS config from @jitsi/eslint
Fix all lint errors
This commit is contained in:
Robert Pintilii
2022-09-08 12:52:36 +03:00
committed by GitHub
parent e296008d95
commit 10bb186c13
198 changed files with 1199 additions and 1215 deletions

View File

@@ -8,32 +8,32 @@ type Props = {
/**
* The css classes generated from theme.
*/
classes: any,
classes: any;
/**
* Attribute used in automated testing.
*/
dataTestId: string,
dataTestId: string;
/**
* The button's icon.
*/
icon: Function,
icon: Function;
/**
* The button's label.
*/
label: string,
label: string;
/**
* Function to be called when button is clicked.
*/
onButtonClick: (e?: React.MouseEvent) => void,
onButtonClick: (e?: React.MouseEvent) => void;
/**
* Function to be called on key pressed.
*/
onKeyPressed: (e?: React.KeyboardEvent) => void
onKeyPressed: (e?: React.KeyboardEvent) => void;
};
/**