Skip to content

Commit

Permalink
fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
bdanzer committed Apr 15, 2024
1 parent b07f901 commit f21a65d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
"preview": "vite preview",
"prepare": "husky",
"coverage": "vitest run --coverage",
"eslint-check": "eslint .",
"fix-prettier": "npx eslint . --fix"
"eslint-check": "eslint src/**/*.{ts,tsx}",
"fix-prettier": "npx eslint src/**/*.{ts,tsx} --fix"
},
"lint-staged": {
"*.{js,jsx}": [
Expand Down
2 changes: 1 addition & 1 deletion src/views/Layout/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export function Layout() {
<a href="/#" className="Nav-link">
List
</a>
<a href="/#" className="Nav-link">
<a href="#" className="Nav-link">

Check failure on line 41 in src/views/Layout/Layout.tsx

View workflow job for this annotation

GitHub Actions / build (^18.2.0)

The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md
Manage List
</a>
</div>
Expand Down

0 comments on commit f21a65d

Please sign in to comment.