ixartz / Astro-boilerplate

🚀 Astro boilerplate with responsive blog and portfolio template using TypeScript and React styled with Tailwind CSS ⚡️ Made with developer experience first: TypeScript + ESLint + Prettier + Husky + Lint-Staged + Commitlint + VSCode

Home Page:https://creativedesignsguru.com/demo/astro-boilerplate/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

New route gives error

Bijig0 opened this issue · comments

I want to add another page, projects. I added it in /src/pages, and inside added a directory pages, with a file [...page].astro. It seems if I create any page that isn't named posts (the one given by the template), I get an eslint error? Why is this?

arsing error: "parserOptions.programs" has been provided for @typescript-eslint/parser.
The file was not found in any of the provided program instance(s): src/pages/projects/[...page].astro
Screenshot 2023-12-30 at 8 58 43 PM

This is the error

bump

This is extremely strange, currently I do have any explanation why you get this error. There isn't nothing special in the settings which can explain the error.

Currently, don't have the time to dig into the error. So, totally open to suggestion.