fix: eslint not working on jsx/tsx files

This commit is contained in:
Kim, Jimin 2025-01-20 20:26:48 +09:00
parent 80b6656e38
commit f59dfa7232
Signed by: pomp
GPG key ID: 2B516173EDD492EB
2 changed files with 9 additions and 2 deletions

View file

@ -83,7 +83,13 @@
"nix.serverPath": "nixd",
"eslint.workingDirectories": [{ "mode": "auto" }],
"eslint.validate": ["javascript", "typescript", "svelte"],
"eslint.validate": [
"javascript",
"typescript",
"javascriptreact",
"typescriptreact",
"svelte"
],
"typescript.tsdk": "node_modules/typescript/lib",

View file

@ -1,7 +1,8 @@
import GithubLinkIcon from "../GithubLinkIcon"
import { faRss } from "@fortawesome/free-solid-svg-icons"
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"
import GithubLinkIcon from "../GithubLinkIcon"
export default function Footer() {
return (
<footer className="flex h-32 justify-center bg-light-footer-bg px-4 text-light-footer-text dark:bg-dark-footer-bg dark:text-dark-footer-text">