astro-nano icon indicating copy to clipboard operation
astro-nano copied to clipboard

ESLint repeated error

Open rosmur opened this issue 3 months ago • 0 comments

Hello,

The following error is showing repeatedly across several files:

/src/components/ArrowCard.astro
  4:6  error  'Props' is defined but never used  @typescript-eslint/no-unused-vars

/src/components/BackToPrev.astro
  2:6  error  'Props' is defined but never used  @typescript-eslint/no-unused-vars

/src/components/FormattedDate.astro
  2:11  error  'Props' is defined but never used  @typescript-eslint/no-unused-vars

is this a mistake from ESLint or is this a true error? I remove the Props definition and the site seems to work fine

My dependencies versions:

"dependencies": {
    "@astrojs/check": "^0.9.4",
    "@astrojs/mdx": "^4.3.5",
    "@astrojs/rss": "^4.0.12",
    "@astrojs/sitemap": "^3.5.1",
    "@fontsource/inter": "^5.2.7",
    "@fontsource/lora": "^5.2.7",
    "@playwright/test": "^1.55.1",
    "@tailwindcss/typography": "^0.5.16",
    "@tailwindcss/vite": "^4.1.14",
    "@typescript-eslint/eslint-plugin": "^8.44.0",
    "@typescript-eslint/parser": "^8.44.0",
    "astro": "^5.13.7",
    "clsx": "^2.1.1",
    "eslint": "^9.35.0",
    "eslint-plugin-astro": "^1.3.1",
    "eslint-plugin-jsx-a11y": "^6.10.2",
    "sharp": "^0.34.3",
    "tailwind-merge": "^3.3.1",
    "tailwindcss": "^4.1.14",
    "typescript": "^5.9.2"
  },
  "devDependencies": {
    "@eslint/eslintrc": "^3.3.1",
    "@eslint/js": "^9.37.0",
    "globals": "^16.4.0"
}

rosmur avatar Oct 13 '25 05:10 rosmur