Skip to content

eslint-plugin-qwik broken in 0.0.19-1 onward, missing index.js #514

@kylecordes

Description

@kylecordes

Qwik Version

0.0.20-7

Operating System (or Browser)

All

Node Version (if applicable)

No response

Which component is affected?

Starters / CLI

Expected Behaviour

eslint-plugin-qwik should work when references from ESLint config, as show in the starters.

Actual Behaviour

Oops! Something went wrong! :(

ESLint: 8.16.0

ESLint couldn't find the plugin "eslint-plugin-qwik".

(The package "eslint-plugin-qwik" was not found when loaded as a Node module from the directory "REDACTED".)

It's likely that the plugin isn't installed correctly. Try reinstalling by running the following:

    npm install eslint-plugin-qwik@latest --save-dev

The plugin "eslint-plugin-qwik" was referenced from the config file in ".eslintrc.js".

Additional Information

The eslint-plugin-qwik package as published in missing index.js, instead it has another single file with JavaScript code, not referenced from its package.json. This appears to be a bug in the eslint-plugin-qwik build process.

The last working version:

https://unpkg.com/browse/eslint-plugin-qwik@0.0.19-0/

It broke thereafter:

https://unpkg.com/browse/eslint-plugin-qwik@0.0.19-1/

And remains so:

https://unpkg.com/browse/eslint-plugin-qwik@0.0.20-7/

(I have not yet looked at how this package is built, on hopes that this is immediately obvious to one of the Qwik team.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    TYPE: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions