eslint-plugin-storybook
Version:
Storybook ESLint Plugin: Best practice rules for writing stories
31 lines (29 loc) • 1.24 kB
TypeScript
declare const _default: {
plugins: string[];
overrides: ({
files: string[];
rules: {
readonly 'react-hooks/rules-of-hooks': "off";
readonly 'import/no-anonymous-default-export': "off";
readonly 'storybook/csf-component': "warn";
readonly 'storybook/default-exports': "error";
readonly 'storybook/hierarchy-separator': "warn";
readonly 'storybook/no-redundant-story-name': "warn";
readonly 'storybook/story-exports': "error";
readonly 'storybook/no-uninstalled-addons'?: undefined;
};
} | {
files: string[];
rules: {
readonly 'storybook/no-uninstalled-addons': "error";
readonly 'react-hooks/rules-of-hooks'?: undefined;
readonly 'import/no-anonymous-default-export'?: undefined;
readonly 'storybook/csf-component'?: undefined;
readonly 'storybook/default-exports'?: undefined;
readonly 'storybook/hierarchy-separator'?: undefined;
readonly 'storybook/no-redundant-story-name'?: undefined;
readonly 'storybook/story-exports'?: undefined;
};
})[];
};
export { _default as default };