Included in these configurations:
- recommended
- flat/recommended
As a best practice, stories should be defined in PascalCase. This makes it simpler to visually differ stories to other code. Plus, it makes it simpler to define regexes for non-story exports.
Examples of incorrect code for this rule:
export const primaryButton = {}
Examples of correct code for this rule:
export const PrimaryButton = {}
More information about naming stories can be found here: https://storybook.js.org/docs/writing-stories#defining-stories