From 41169b0fb4837a5b57628f5fdfacc574f7cae2c3 Mon Sep 17 00:00:00 2001 From: Dmytro Kirpa Date: Tue, 7 Jan 2025 14:43:31 +0100 Subject: [PATCH] remove the rule from recommended preset --- .../etc/eslint-plugin-react-components.api.md | 4 +--- .../eslint-plugin-react-components/src/index.ts | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/react-components/eslint-plugin-react-components/etc/eslint-plugin-react-components.api.md b/packages/react-components/eslint-plugin-react-components/etc/eslint-plugin-react-components.api.md index df77b926b27757..d4416ee6720ef5 100644 --- a/packages/react-components/eslint-plugin-react-components/etc/eslint-plugin-react-components.api.md +++ b/packages/react-components/eslint-plugin-react-components/etc/eslint-plugin-react-components.api.md @@ -16,9 +16,7 @@ export const plugin: { configs: { recommended: { plugins: string[]; - rules: { - "@fluentui/react-components/prefer-fluentui-v9": string; - }; + rules: {}; }; }; rules: { diff --git a/packages/react-components/eslint-plugin-react-components/src/index.ts b/packages/react-components/eslint-plugin-react-components/src/index.ts index b8860ee09fe63d..0bbd6a65255c05 100644 --- a/packages/react-components/eslint-plugin-react-components/src/index.ts +++ b/packages/react-components/eslint-plugin-react-components/src/index.ts @@ -9,7 +9,7 @@ const configs = { recommended: { plugins: [name], rules: { - [`@fluentui/react-components/${preferFluentUIV9Name}`]: 'warn', + // add all rules here }, }, };