Skip to content

Commit

Permalink
Add eslint-plugin-storybook (#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
fregante committed Nov 5, 2023
1 parent 28e861e commit 764baf6
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ const config = {
},
{
files: ["*.stories.tsx"],
extends: ["plugin:storybook/recommended"],
rules: {
"unicorn/filename-case": "off",
"unicorn/no-useless-spread": "off", // Clashes with getDefaultMiddleware().concat
Expand Down
71 changes: 71 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-redux": "^4.0.0",
"eslint-plugin-security": "^1.7.1",
"eslint-plugin-storybook": "^0.6.15",
"eslint-plugin-testing-library": "^6.0.1",
"eslint-plugin-unicorn": "^49.0.0"
},
Expand Down

0 comments on commit 764baf6

Please sign in to comment.