Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Template repo to showcase ESLint bugs when linting Astro files with script tags

Notifications You must be signed in to change notification settings

cyrus01337/linting-react-components-in-astro-with-eslint-9

Repository files navigation

Linting React Components in Astro with ESLint 9

ESLint changed their configuration format when updating v9, and with that, new bugs arise.

React components cannot be linted when used within an Astro file when <script> tags are present, meaning you could pass arbitrary data to properties and ESLint will not raise warnings/errors when it should.

About

Template repo to showcase ESLint bugs when linting Astro files with script tags

Resources

Stars

Watchers

Forks