storybookjs / eslint-plugin-storybook

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

Add rule to prevent empty args #84

Open DamienCassou opened 2 years ago

DamienCassou commented 2 years ago

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?