Skip to content

Commit

Permalink
chore: eslint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbert committed Oct 20, 2024
1 parent aaaff59 commit e2d1789
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/components-react/rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import { readFileSync } from 'fs';
import filesize from 'rollup-plugin-filesize';
import nodeExternal from 'rollup-plugin-node-externals';
import nodePolyfills from 'rollup-plugin-node-polyfills';
import postcss from 'rollup-plugin-postcss';
import peerDepsExternal from 'rollup-plugin-peer-deps-external';
import postcss from 'rollup-plugin-postcss';
import typescript from 'rollup-plugin-typescript2';

const packageJson = JSON.parse(readFileSync('./package.json', 'utf8'));
Expand Down
2 changes: 1 addition & 1 deletion packages/storybook/src/css-button.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import type { Meta, StoryObj } from '@storybook/react';
import { PropsWithChildren } from 'react';
import '@frameless/components-css/button/index.scss';

const Button = ({ children }: PropsWithChildren<{}>) => (
const Button = ({ children }: PropsWithChildren<object>) => (
<button className="frameless-button" type="button">
<span className="frameless-button__text">{children}</span>
</button>
Expand Down
2 changes: 1 addition & 1 deletion packages/storybook/src/web-component-button.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { FramelessButton } from '@frameless/web-components-react';
import type { Meta, StoryObj } from '@storybook/react';
import { PropsWithChildren } from 'react';

const Button = ({ children }: PropsWithChildren<{}>) => <FramelessButton>{children}</FramelessButton>;
const Button = ({ children }: PropsWithChildren<object>) => <FramelessButton>{children}</FramelessButton>;

const meta = {
title: 'Web Component/Button',
Expand Down
1 change: 1 addition & 0 deletions packages/web-components-stencil/src/button/stencil.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* Copyright (c) 2021 Community for NL Design System
*/

// eslint-disable-next-line @typescript-eslint/no-unused-vars
import { Component, h } from '@stencil/core';

@Component({
Expand Down

0 comments on commit e2d1789

Please sign in to comment.