Storybook ESLint
with customizations for specific environments and team practices.
Usage
Run npm install eslint-config-forumone-es5.
Add extends: 'forumone-es5' to your ESLint configuration file.
Storybook
Storybook-specific linting (via eslint-plugin-storybook) is not included by
default, so projects that don't use Storybook aren't required to install it.
For projects that do use Storybook:
Run npm install --save-dev eslint-plugin-storybook storybook.
Import and spread the /storybook subpath into your flat config alongside
the base config:
import forumoneEs5 from "@forumone/eslint-config-es5";
import forumoneEs5Storybook from "@forumone/eslint-config-es5/storybook";
export default [...forumoneEs5, ...forumoneEs5Storybook];