storybookjs / eslint-plugin-storybook

🎗Official ESLint plugin for Storybook

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add rule to prevent empty args

DamienCassou opened this issue · 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?