storybookjs / vue-cli-plugin-storybook

Vue CLI plugin for Storybook
MIT License
279 stars 44 forks source link

Storybook not using same linter as Vue #100

Closed ghost closed 4 years ago

ghost commented 4 years ago

When using the vue storybook plugin, the linter options do not seem to be shared between the cli service and storybook. I'm using an airbnb eslint configuration. At some point, storybook compiles the source without even any warning, while npm run lint fails with linting errors. I don't understand what linter configurations are storybook using, and why are they not the same as the cli service. What could I do in order to grant that the compilation is the same for storybook and the vue cli service?

ghost commented 4 years ago

This seems to be a problem with caching. It happens with npm run serve too. Probably this is not the best place to open this issue.