Skip to content

Commit

Permalink
fix: eslint error
Browse files Browse the repository at this point in the history
  • Loading branch information
hrgui committed Apr 7, 2024
1 parent edffc46 commit da28949
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"format": "prettier --write \"src/**/*\"",
"test": "vitest",
"test-ui": "vitest --ui",
"lint:es": "eslint src/**/*",
"lint:es": "eslint src",
"lint": "yarn lint:es && tsc",
"prepare": "husky install"
},
Expand Down
2 changes: 1 addition & 1 deletion src/components/layout/Link.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { twMerge } from "tailwind-merge";

import { linkClassName } from "~/theme";

type Props = {} & JSX.HTMLAttributes<HTMLAnchorElement>;
type Props = JSX.HTMLAttributes<HTMLAnchorElement>;

const Link = ({ className: inputtedClassName, ...props }: Props) => {
return (
Expand Down
2 changes: 1 addition & 1 deletion src/components/layout/LinkButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { twMerge } from "tailwind-merge";

import { linkClassName } from "~/theme";

type Props = {} & JSX.HTMLAttributes<HTMLButtonElement>;
type Props = JSX.HTMLAttributes<HTMLButtonElement>;

const LinkButton = ({ className: inputtedClassName, ...props }: Props) => {
return (
Expand Down
2 changes: 1 addition & 1 deletion src/components/layout/Overlay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import classNames from "classnames";
import { JSX } from "preact";
import { twMerge } from "tailwind-merge";

type Props = {} & JSX.HTMLAttributes<HTMLDivElement>;
type Props = JSX.HTMLAttributes<HTMLDivElement>;

const Overlay = ({ className, ...props }: Props) => {
return (
Expand Down
2 changes: 1 addition & 1 deletion src/components/portfolio/Slider/SliderNavButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import classNames from "classnames";
import { JSX } from "preact";
import { twMerge } from "tailwind-merge";

type Props = {} & JSX.HTMLAttributes<HTMLButtonElement>;
type Props = JSX.HTMLAttributes<HTMLButtonElement>;

const SliderNavButton = ({
className: inputtedClassName,
Expand Down
1 change: 0 additions & 1 deletion src/pages/posts/index.astro
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
import { getCollection } from "astro:content";
import DefaultPageLayout from "layouts/default.astro";
import { Frontmatter } from "types/frontmatter";
import Posts from "~/components/app/blog/Posts";
import SubPageHeader from "~/components/layout/SubPageHeader";
Expand Down

0 comments on commit da28949

Please sign in to comment.