diff --git a/.eslintrc.js b/.eslintrc.js index 5b67de4462e..08d77bfad73 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -21,6 +21,7 @@ module.exports = { "prettier", "plugin:ssr-friendly/recommended", "plugin:jsx-a11y/recommended", + "plugin:storybook/recommended", ], parser: "@typescript-eslint/parser", parserOptions: { @@ -178,11 +179,9 @@ module.exports = { "no-new-wrappers": "error", "no-return-await": "error", "no-sequences": "error", - // The base no-shadow rule reports incorrect errors in typescript "no-shadow": "off", "@typescript-eslint/no-shadow": ["error"], - "no-sparse-arrays": "error", "no-template-curly-in-string": "error", "no-throw-literal": "error", diff --git a/draft-packages/button/docs/deprecated.Button.stories.tsx b/draft-packages/button/docs/deprecated.Button.stories.tsx index b7d2c336023..3455c09375d 100644 --- a/draft-packages/button/docs/deprecated.Button.stories.tsx +++ b/draft-packages/button/docs/deprecated.Button.stories.tsx @@ -808,9 +808,7 @@ export const ReversedButtons = () => ( ) export const DefaultKaizenSiteDemo = args =>