UNPKG

@sheplu/eslint-config

Version:

A simple ESLint config based on recommended rules and stylistic formatting

55 lines (54 loc) 1.49 kB
export default [ { rules: { "storybook/await-interactions": [ "error", ], "storybook/context-in-play-function": [ "error", ], "storybook/csf-component": [ "error", ], "storybook/default-exports": [ "error", ], "storybook/hierarchy-separator": [ "error", ], "storybook/meta-inline-properties": [ "error", ], "storybook/meta-satisfies-type": [ "error", ], "storybook/no-redundant-story-name": [ "error", ], "storybook/no-stories-of": [ "error", ], "storybook/no-title-property-in-meta": [ "error", ], "storybook/no-uninstalled-addons": [ "error", { "packageJsonLocation": "./package.json", "ignore": [], }, ], "storybook/prefer-pascal-case": [ "error", ], "storybook/story-exports": [ "error", ], "storybook/use-storybook-expect": [ "error", ], "storybook/use-storybook-testing-library": [ "error", ], }, }, ];