From 04c362f76cfd26a08bd04f34580f843f44f33eab Mon Sep 17 00:00:00 2001 From: Wei Ting <59229084+hoonweiting@users.noreply.github.com> Date: Tue, 23 May 2023 01:39:02 +0800 Subject: [PATCH 1/7] Update overrides link in await-interactions.md --- docs/rules/await-interactions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/rules/await-interactions.md b/docs/rules/await-interactions.md index 95fb7d1..8932f4a 100644 --- a/docs/rules/await-interactions.md +++ b/docs/rules/await-interactions.md @@ -36,4 +36,4 @@ MyStory.play = async (context) => { ## When Not To Use It -This rule should not be applied in test files. Please ensure you are defining the storybook rules only for story files. You can see more details [here](https://github.com/storybookjs/eslint-plugin-storybook#eslint-overrides). +This rule should not be applied in test files. Please ensure you are defining the storybook rules only for story files. You can see more details [here](https://github.com/storybookjs/eslint-plugin-storybook#overridingdisabling-rules). From 56f7f185bf48ac0b1074c8be61e17f46be08ed2e Mon Sep 17 00:00:00 2001 From: Wei Ting <59229084+hoonweiting@users.noreply.github.com> Date: Tue, 23 May 2023 01:41:50 +0800 Subject: [PATCH 2/7] Update overrides link in context-in-play-function.md --- docs/rules/context-in-play-function.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/rules/context-in-play-function.md b/docs/rules/context-in-play-function.md index e03d5d0..89b0e6d 100644 --- a/docs/rules/context-in-play-function.md +++ b/docs/rules/context-in-play-function.md @@ -52,4 +52,4 @@ MyStory.play = (context) => { ## When Not To Use It -This rule should not be applied in test files. Please ensure you are defining the storybook rules only for story files. You can see more details [here](https://github.com/storybookjs/eslint-plugin-storybook#eslint-overrides). +This rule should not be applied in test files. Please ensure you are defining the storybook rules only for story files. You can see more details [here](https://github.com/storybookjs/eslint-plugin-storybook#overridingdisabling-rules). From 335223f0af5f7e4826a535dd0e455c8df4519f51 Mon Sep 17 00:00:00 2001 From: Wei Ting <59229084+hoonweiting@users.noreply.github.com> Date: Tue, 23 May 2023 01:42:37 +0800 Subject: [PATCH 3/7] Update overrides links in default-exports.md --- docs/rules/default-exports.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/rules/default-exports.md b/docs/rules/default-exports.md index 97152c6..452fb55 100644 --- a/docs/rules/default-exports.md +++ b/docs/rules/default-exports.md @@ -30,9 +30,9 @@ export const Primary = {} ## When Not To Use It -This rule should only be applied in your `.stories.*` files. Please ensure you are defining the storybook rules only for story files. You can see more details [here](https://github.com/storybookjs/eslint-plugin-storybook#eslint-overrides). +This rule should only be applied in your `.stories.*` files. Please ensure you are defining the storybook rules only for story files. You can see more details [here](https://github.com/storybookjs/eslint-plugin-storybook#overridingdisabling-rules). -If you're using [CSF in MDX](https://github.com/storybookjs/storybook/blob/next/addons/docs/docs/recipes.md#csf-stories-with-mdx-docs), you should disable this rule for the stories that use CSF in MDX. You can see how to override the rule [here](https://github.com/storybookjs/eslint-plugin-storybook#eslint-overrides). +If you're using [CSF in MDX](https://github.com/storybookjs/storybook/blob/next/addons/docs/docs/recipes.md#csf-stories-with-mdx-docs), you should disable this rule for the stories that use CSF in MDX. You can see how to override the rule [here](https://github.com/storybookjs/eslint-plugin-storybook#overridingdisabling-rules). ## Further Reading From 44e07daf82dad92d48ed2a1013b9d5d0f9c2b93e Mon Sep 17 00:00:00 2001 From: Wei Ting <59229084+hoonweiting@users.noreply.github.com> Date: Tue, 23 May 2023 01:45:30 +0800 Subject: [PATCH 4/7] Update overrides link in story-exports.md --- docs/rules/story-exports.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/rules/story-exports.md b/docs/rules/story-exports.md index 6342caa..2187045 100644 --- a/docs/rules/story-exports.md +++ b/docs/rules/story-exports.md @@ -34,7 +34,7 @@ export const Primary = {} // at least one named export! ## When Not To Use It -This rule should only be applied in your `.stories.*` files. Please ensure you are defining the storybook rules only for story files. You can see more details [here](https://github.com/storybookjs/eslint-plugin-storybook#eslint-overrides). +This rule should only be applied in your `.stories.*` files. Please ensure you are defining the storybook rules only for story files. You can see more details [here](https://github.com/storybookjs/eslint-plugin-storybook#overridingdisabling-rules). ## Further Reading From db2dbc5f2e51ebe42fbb18cbb229db0075f0c5c5 Mon Sep 17 00:00:00 2001 From: Wei Ting <59229084+hoonweiting@users.noreply.github.com> Date: Tue, 23 May 2023 01:46:03 +0800 Subject: [PATCH 5/7] Update overrides link in use-storybook-expect.md --- docs/rules/use-storybook-expect.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/rules/use-storybook-expect.md b/docs/rules/use-storybook-expect.md index 19be0c0..ecdd429 100644 --- a/docs/rules/use-storybook-expect.md +++ b/docs/rules/use-storybook-expect.md @@ -33,7 +33,7 @@ Default.play = () => { ## When Not To Use It -This rule should not be applied in test files. Please ensure you are defining the storybook rules only for story files. You can see more details [here](https://github.com/storybookjs/eslint-plugin-storybook#eslint-overrides). +This rule should not be applied in test files. Please ensure you are defining the storybook rules only for story files. You can see more details [here](https://github.com/storybookjs/eslint-plugin-storybook#overridingdisabling-rules). ## Further Reading From 69de1f4494baf9abe267dc883af0ee29d89b4b65 Mon Sep 17 00:00:00 2001 From: Wei Ting <59229084+hoonweiting@users.noreply.github.com> Date: Tue, 23 May 2023 01:46:23 +0800 Subject: [PATCH 6/7] Update overrides link in use-storybook-testing-library.md --- docs/rules/use-storybook-testing-library.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/rules/use-storybook-testing-library.md b/docs/rules/use-storybook-testing-library.md index 4bae7ef..50abac1 100644 --- a/docs/rules/use-storybook-testing-library.md +++ b/docs/rules/use-storybook-testing-library.md @@ -35,7 +35,7 @@ Default.play = async (context) => { ## When Not To Use It -This rule should not be applied in test files. Please ensure you are defining the storybook rules only for story files. You can see more details [here](https://github.com/storybookjs/eslint-plugin-storybook#eslint-overrides). +This rule should not be applied in test files. Please ensure you are defining the storybook rules only for story files. You can see more details [here](https://github.com/storybookjs/eslint-plugin-storybook#overridingdisabling-rules). ## Further Reading From 92c74275e21040d6b747fa865c78b9a7419618c9 Mon Sep 17 00:00:00 2001 From: Yann Braga Date: Fri, 17 May 2024 20:11:07 +0200 Subject: [PATCH 7/7] Update docs/rules/default-exports.md --- docs/rules/default-exports.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/rules/default-exports.md b/docs/rules/default-exports.md index 452fb55..74f74db 100644 --- a/docs/rules/default-exports.md +++ b/docs/rules/default-exports.md @@ -32,7 +32,7 @@ export const Primary = {} This rule should only be applied in your `.stories.*` files. Please ensure you are defining the storybook rules only for story files. You can see more details [here](https://github.com/storybookjs/eslint-plugin-storybook#overridingdisabling-rules). -If you're using [CSF in MDX](https://github.com/storybookjs/storybook/blob/next/addons/docs/docs/recipes.md#csf-stories-with-mdx-docs), you should disable this rule for the stories that use CSF in MDX. You can see how to override the rule [here](https://github.com/storybookjs/eslint-plugin-storybook#overridingdisabling-rules). +If you're using Storybook 6.5 and [CSF in MDX](https://github.com/storybookjs/storybook/blob/v6.5.0/addons/docs/docs/recipes.md#csf-stories-with-mdx-docs), you should disable this rule for the stories that use CSF in MDX. You can see how to override the rule [here](https://github.com/storybookjs/eslint-plugin-storybook#overridingdisabling-rules). ## Further Reading