eslint-plugin-storybook icon indicating copy to clipboard operation
eslint-plugin-storybook copied to clipboard

New Rule: Disallow template strings in titles

Open IanVS opened this issue 3 years ago • 0 comments

Is your feature request related to a problem? Please describe. According to https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#string-literal-titles, dynamic titles are going to be prohibited in 7.0. It might be nice to have a linting rule that flags if backticks are being used.

Describe the solution you'd like A rule, not included in recommended (due to different versions of storybook having different requirements), which flags the use of backticks in story titles.

Additional context https://discord.com/channels/486522875931656193/691505730125168682/928685457552863254

image

IanVS avatar Jan 06 '22 16:01 IanVS