Provide eslint parser/plugin #1428
stellarhoof
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Eslint cannot parse source meant to be processed by snowpack's pipeline directly. While one could specify a babel parser for eslint and replicate snowpack's features on babel, certain things such as css imports cannot be handled this way. It'd be awesome if there was a "snowpack parser" that used snowpack's pipeline. Ref: https://eslint.org/docs/developer-guide/working-with-custom-parsers.Alternatively, instead of an eslint parser, we could provide a plugin with a processor. Ref: https://eslint.org/docs/user-guide/configuring#specifying-processorIgnore this. I got confused. It was an error with my configuration.
Beta Was this translation helpful? Give feedback.
All reactions