storybookjs / eslint-plugin-storybook

🎗Official ESLint plugin for Storybook
MIT License
245 stars 52 forks source link

Support .jsx extension #59

Closed mharward-tw closed 2 years ago

mharward-tw commented 2 years ago

At the moment, this plugin does not support .jsx extension, which is commonly used for react projects. This leads to the plugin not being usable in projects that use this convention.

As a dev who would love to use this to ensure consistency in our .stories.jsx files, adding this extension would be very useful.

Change would require adding the extension into https://github.com/storybookjs/eslint-plugin-storybook/blob/0c413c9497b487234356b5dca0f460f98ce6c108/tools/update-configs.ts

yannbf commented 2 years ago

Hey @mharward-tw thank you so much for catching that! It was just overlooked. Could you please try version 0.5.2? Should be fixed now. Thank you!

mharward-tw commented 2 years ago

Thanks @yannbf, much appreciated and thank you for such a quick turn around. I've just checked the new version and it works like a charm! Thank you :)

yannbf commented 2 years ago

Alright awesome! Thanks once again and have a great one! I hope you like using this plugin and keep the feedback coming <3