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

Add rule to prevent empty args

Open DamienCassou opened this issue 3 years ago • 0 comments

It is possible to specify an empty object for args:

// Button.stories.js
export default {
  title: 'Button',
  component: Button,
  args: {},
};

Should such a case be detected by a rule?

DamienCassou avatar Feb 18 '22 13:02 DamienCassou