nxext / nx-extensions

Nx Extension for StencilJs, SvelteJS, SolidJS, Ionic and VueJs
MIT License
451 stars 100 forks source link

Svelte: storybook generator fail if NOT using eslintrc JSON file #1036

Open floratmin opened 9 months ago

floratmin commented 9 months ago

When creating a storybook with the command

nx g @nxext/svelte:storybook-configuration tool

I get the error NX Cannot parse apps/tool/.eslintrc.js: InvalidSymbol in JSON at 1:1

When replacing the file .eslintrc.js with a file .eslintrc.json, then the installation works. Then after installation I can switch back to the eslintrc.js file and everything works like intended.

slaterhaus commented 3 months ago

Seeing this bug today as well