Merged PR 170: Add new eslint rules
- naming-convention - prefer-arrow-callback - func-style - import/no-default-export
This commit is contained in:
parent
3f58c5ba5e
commit
ad126c6c28
65 changed files with 781 additions and 784 deletions
|
@ -31,15 +31,17 @@ describe.concurrent('Sidebar', () => {
|
|||
});
|
||||
|
||||
it('With stuff', () => {
|
||||
const Type = 'stuff';
|
||||
const type = 'stuff';
|
||||
const handleButtonClick = vi.fn();
|
||||
render(<Sidebar
|
||||
componentOptions={[
|
||||
{
|
||||
Type,
|
||||
/* eslint-disable @typescript-eslint/naming-convention */
|
||||
Type: type,
|
||||
Width: 30,
|
||||
Height: 30,
|
||||
Style: {}
|
||||
/* eslint-enable */
|
||||
}
|
||||
]}
|
||||
isOpen={true}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue