From 8bfce434e513a9f15c390e7797e22192f4414757 Mon Sep 17 00:00:00 2001 From: Arkadiusz Bachorski <60391032+arkadiuszbachorski@users.noreply.github.com> Date: Wed, 5 Jun 2024 08:04:57 +0200 Subject: [PATCH] Disable no-default-export rule for Storybook files (#26) # Disable no-default-export rule for Storybook files ## :recycle: Current situation & Problem Storybooks use default exports as part of their build process. ## :gear: Release Notes * Disable no-default-export rule for Storybook files ### Code of Conduct & Contributing Guidelines By submitting creating this pull request, you agree to follow our [Code of Conduct](https://github.com/StanfordBDHG/.github/blob/main/CODE_OF_CONDUCT.md) and [Contributing Guidelines](https://github.com/StanfordBDHG/.github/blob/main/CONTRIBUTING.md): - [x] I agree to follow the [Code of Conduct](https://github.com/StanfordBDHG/.github/blob/main/CODE_OF_CONDUCT.md) and [Contributing Guidelines](https://github.com/StanfordBDHG/.github/blob/main/CONTRIBUTING.md). --- .eslintrc.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.eslintrc.json b/.eslintrc.json index 9568e04..4b64ef9 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -103,7 +103,7 @@ }, "overrides": [ { - "files": ["app/**/*.ts?(x)"], + "files": ["app/**/*.ts?(x)", "**/*.stories.ts?(x)"], "rules": { "import/no-default-export": "off" }