Comments (5)
The solution for now is to remove the useless </label>
. @astrojs/compiler
does not return a lone </label>
as an AST, so it cannot parse it well.
from eslint-plugin-astro.
I have a case where is no useless elements and still got such a problem . example in description
from eslint-plugin-astro.
I can't reproduce the parsing error. It might be a problem with prettier.
from eslint-plugin-astro.
This issue is is stale because it missing information and has been open for 60 days with no activity.
from eslint-plugin-astro.
This issue has been automatically closed because we haven't received a response from the original author π. This automation helps keep the issue tracker clean from issues that aren't actionable. Please reach out if you have more information for us! π
from eslint-plugin-astro.
Related Issues (20)
- Parse errors in imported module 'http-status-codes': parser.parse is not a function (undefined:undefined) HOT 6
- Question: whatβs the best scope to address missing default export of Astro components? HOT 2
- document cause no-undef error
- Unable to resolve path to module typescript import HOT 10
- Docs site renders : book : instead of :book: HOT 1
- Parsing error (',' expected) in <script> with typescript HOT 10
- Type declaration in script causes eslint parsing error HOT 2
- docs: Add `parser: "@typescript-eslint/parser",` HOT 3
- Add notes on interop with eslint-plugin-import to docs HOT 2
- Missing lint errors on <script> HOT 3
- Error when I use Chinese HOT 2
- In Astro files: "Parsing error: JSX expressions must have one parent element." HOT 1
- New rule for client:only directive to have a value depending on the framework used HOT 3
- Add new rule: disallow-exports-from-components HOT 5
- Parsing error: unknown token HOT 2
- Docs: Mention `"eslint.experimental.useFlatConfig"` for IDE Settings HOT 3
- no-shadow in astro file HOT 1
- Types imported from Astro file are not working correctly HOT 1
- Using glob patterns in `project` key does not work.
- Default export of an Astro component has a type `any`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eslint-plugin-astro.