diff --git a/.eslintignore b/.eslintignore
deleted file mode 100644
index 98297ff30d..0000000000
--- a/.eslintignore
+++ /dev/null
@@ -1,8 +0,0 @@
-node_modules
-packages/*/lib
-packages/*/dist
-jest.config.js
-packages/just-stack-monorepo/template/common/scripts
-packages/example-lib
-packages/documentation/website/build
-packages/codemods/src/__testfixtures__
diff --git a/.eslintrc.json b/.eslintrc.json
deleted file mode 100644
index a743144352..0000000000
--- a/.eslintrc.json
+++ /dev/null
@@ -1,73 +0,0 @@
-{
- "extends": ["eslint:recommended", "plugin:@typescript-eslint/eslint-recommended", "plugin:@typescript-eslint/recommended"],
- "env": {
- "node": true,
- "es6": true,
- "browser": true
- },
- "parser": "@typescript-eslint/parser",
- "plugins": ["@typescript-eslint", "import"],
- "rules": {
- "indent": "off",
- "no-unused-vars": "off",
- "quotes": [
- "error",
- "single",
- {
- "avoidEscape": true,
- "allowTemplateLiterals": true
- }
- ],
- "prefer-rest-params": "off",
- "no-useless-escape": "off",
- "require-atomic-updates": "off",
- "@typescript-eslint/indent": "off",
- "@typescript-eslint/interface-name-prefix": "off",
- "@typescript-eslint/no-explicit-any": "off",
- "@typescript-eslint/explicit-function-return-type": "off",
- "@typescript-eslint/no-use-before-define": "off",
- "@typescript-eslint/no-object-literal-type-assertion": "off",
- "@typescript-eslint/array-type": "off",
- "@typescript-eslint/no-var-requires": "off",
- "@typescript-eslint/no-unused-vars": "off",
- "import/order": [
- "error",
- {
- "newlines-between": "always",
- "groups": ["builtin", "external", "internal", ["parent", "sibling", "index"]],
- "pathGroups": [
- {
- "pattern": "react+(|-native)",
- "group": "external",
- "position": "before"
- }
- ],
- "pathGroupsExcludedImportTypes": ["react"],
- "alphabetize": {
- "order": "asc",
- "caseInsensitive": true
- }
- }
- ]
- },
- "overrides": [
- {
- "files": "*.js",
- "parserOptions": {
- "sourceType": "script"
- }
- },
- {
- "files": "*.spec.js",
- "env": {
- "jest": true
- }
- },
- {
- "files": "*.spec.{ts,js}",
- "rules": {
- "@typescript-eslint/no-non-null-assertion": "off"
- }
- }
- ]
-}
diff --git a/.vscode/settings.json b/.vscode/settings.json
index e763bb6801..ff320b97c0 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -9,7 +9,7 @@
},
"eslint.enable": true,
- "eslint.workingDirectories": [{ "mode": "auto" }], // infer working directory based on .eslintrc/package.json location
+ "eslint.workingDirectories": [{ "pattern": "./packages/framework/eslint-config-rules" }], // use the common eslint config file
"explorer.fileNesting.enabled": true,
"explorer.fileNesting.patterns": {
diff --git a/apps/E2E/eslint.config.js b/apps/E2E/eslint.config.js
index c98098e068..5ed9a7bc32 100644
--- a/apps/E2E/eslint.config.js
+++ b/apps/E2E/eslint.config.js
@@ -1,3 +1,11 @@
const baseConfig = require('@fluentui-react-native/eslint-config-rules');
-module.exports = baseConfig;
+module.exports = [
+ ...baseConfig,
+ {
+ rules: {
+ '@typescript-eslint/no-duplicate-enum-values': 'off',
+ '@typescript-eslint/no-invalid-void-type': 'off',
+ },
+ },
+];
diff --git a/apps/fluent-tester/src/TestComponents/Badge/BasicBadgeTest.tsx b/apps/fluent-tester/src/TestComponents/Badge/BasicBadgeTest.tsx
index cc5302c4b2..bd9d677529 100644
--- a/apps/fluent-tester/src/TestComponents/Badge/BasicBadgeTest.tsx
+++ b/apps/fluent-tester/src/TestComponents/Badge/BasicBadgeTest.tsx
@@ -1,4 +1,3 @@
-/* eslint-disable @typescript-eslint/no-var-requires */
import React, { useState, useCallback, useMemo } from 'react';
import { View, Platform, Image } from 'react-native';
diff --git a/apps/fluent-tester/src/TestComponents/Badge/CounterBadgeTest.tsx b/apps/fluent-tester/src/TestComponents/Badge/CounterBadgeTest.tsx
index ac6b8d5264..a4c01fdca7 100644
--- a/apps/fluent-tester/src/TestComponents/Badge/CounterBadgeTest.tsx
+++ b/apps/fluent-tester/src/TestComponents/Badge/CounterBadgeTest.tsx
@@ -1,4 +1,3 @@
-/* eslint-disable @typescript-eslint/no-var-requires */
import React from 'react';
import { View, Platform, Text } from 'react-native';
diff --git a/apps/fluent-tester/src/TestComponents/Badge/PresenceBadgeTest.android.tsx b/apps/fluent-tester/src/TestComponents/Badge/PresenceBadgeTest.android.tsx
index 5fb358f9c8..d9c3445808 100644
--- a/apps/fluent-tester/src/TestComponents/Badge/PresenceBadgeTest.android.tsx
+++ b/apps/fluent-tester/src/TestComponents/Badge/PresenceBadgeTest.android.tsx
@@ -1,4 +1,3 @@
-/* eslint-disable @typescript-eslint/no-var-requires */
import React, { useCallback, useState } from 'react';
import { View, StyleSheet, Text } from 'react-native';
diff --git a/apps/fluent-tester/src/TestComponents/Badge/PresenceBadgeTest.tsx b/apps/fluent-tester/src/TestComponents/Badge/PresenceBadgeTest.tsx
index a2671d3d55..cc0ad103cd 100644
--- a/apps/fluent-tester/src/TestComponents/Badge/PresenceBadgeTest.tsx
+++ b/apps/fluent-tester/src/TestComponents/Badge/PresenceBadgeTest.tsx
@@ -1,4 +1,3 @@
-/* eslint-disable @typescript-eslint/no-var-requires */
import React, { useState, useCallback } from 'react';
import { View, Platform, Text } from 'react-native';
diff --git a/apps/fluent-tester/src/TestComponents/Button/E2EButtonTest.tsx b/apps/fluent-tester/src/TestComponents/Button/E2EButtonTest.tsx
index 6b56795a46..1b305b610c 100644
--- a/apps/fluent-tester/src/TestComponents/Button/E2EButtonTest.tsx
+++ b/apps/fluent-tester/src/TestComponents/Button/E2EButtonTest.tsx
@@ -1,4 +1,3 @@
-/* eslint-disable @typescript-eslint/no-var-requires */
import * as React from 'react';
import { View } from 'react-native';
diff --git a/apps/fluent-tester/src/TestComponents/Button/deprecated/ButtonIconTest.tsx b/apps/fluent-tester/src/TestComponents/Button/deprecated/ButtonIconTest.tsx
index 3e713557f2..6325df6306 100644
--- a/apps/fluent-tester/src/TestComponents/Button/deprecated/ButtonIconTest.tsx
+++ b/apps/fluent-tester/src/TestComponents/Button/deprecated/ButtonIconTest.tsx
@@ -1,4 +1,3 @@
-/* eslint-disable @typescript-eslint/no-var-requires */
import * as React from 'react';
import { Platform, View } from 'react-native';
@@ -14,8 +13,6 @@ const CustomizedIconButton = Button.customize({
});
export const ButtonIconTest_deprecated: React.FunctionComponent = () => {
- /* eslint-disable @typescript-eslint/no-var-requires */
-
// SVG-based icons are not available on all platforms yet
const svgIconsEnabled = ['ios', 'macos', 'win32', 'android'].includes(Platform.OS as string);
const iconProps = { svgSource: svgProps, width: 20, height: 20 };
diff --git a/apps/fluent-tester/src/TestComponents/Button/deprecated/E2EButtonTest.tsx b/apps/fluent-tester/src/TestComponents/Button/deprecated/E2EButtonTest.tsx
index 7e2e9294c0..8a2998bdc0 100644
--- a/apps/fluent-tester/src/TestComponents/Button/deprecated/E2EButtonTest.tsx
+++ b/apps/fluent-tester/src/TestComponents/Button/deprecated/E2EButtonTest.tsx
@@ -1,4 +1,3 @@
-/* eslint-disable @typescript-eslint/no-var-requires */
import * as React from 'react';
import { View } from 'react-native';
diff --git a/apps/fluent-tester/src/TestComponents/Chip/ChipDefault.tsx b/apps/fluent-tester/src/TestComponents/Chip/ChipDefault.tsx
index 6d445e4059..fb41be297f 100644
--- a/apps/fluent-tester/src/TestComponents/Chip/ChipDefault.tsx
+++ b/apps/fluent-tester/src/TestComponents/Chip/ChipDefault.tsx
@@ -1,4 +1,3 @@
-/* eslint-disable @typescript-eslint/no-var-requires */
import React, { useCallback } from 'react';
import { StyleSheet, View, ToastAndroid } from 'react-native';
diff --git a/apps/fluent-tester/src/TestComponents/ContextualMenu/ContextualMenuTest.tsx b/apps/fluent-tester/src/TestComponents/ContextualMenu/ContextualMenuTest.tsx
index beb8a1335a..8c74f69d15 100644
--- a/apps/fluent-tester/src/TestComponents/ContextualMenu/ContextualMenuTest.tsx
+++ b/apps/fluent-tester/src/TestComponents/ContextualMenu/ContextualMenuTest.tsx
@@ -1,4 +1,3 @@
-/* eslint-disable @typescript-eslint/no-var-requires */
import * as React from 'react';
import { Text, View, Switch } from 'react-native';
diff --git a/apps/fluent-tester/src/TestComponents/ContextualMenu/E2EContextualMenuTest.tsx b/apps/fluent-tester/src/TestComponents/ContextualMenu/E2EContextualMenuTest.tsx
index b1921e4f73..e7859d9f55 100644
--- a/apps/fluent-tester/src/TestComponents/ContextualMenu/E2EContextualMenuTest.tsx
+++ b/apps/fluent-tester/src/TestComponents/ContextualMenu/E2EContextualMenuTest.tsx
@@ -1,4 +1,3 @@
-/* eslint-disable @typescript-eslint/no-var-requires */
import * as React from 'react';
import { Text, View, Switch } from 'react-native';
diff --git a/apps/fluent-tester/src/TestComponents/Icon/IconLegacyE2ETest.tsx b/apps/fluent-tester/src/TestComponents/Icon/IconLegacyE2ETest.tsx
index c75997ec96..5524adf419 100644
--- a/apps/fluent-tester/src/TestComponents/Icon/IconLegacyE2ETest.tsx
+++ b/apps/fluent-tester/src/TestComponents/Icon/IconLegacyE2ETest.tsx
@@ -1,4 +1,3 @@
-/* eslint-disable @typescript-eslint/no-var-requires */
import * as React from 'react';
import { View } from 'react-native';
diff --git a/apps/fluent-tester/src/TestComponents/Icon/IconTest.tsx b/apps/fluent-tester/src/TestComponents/Icon/IconTest.tsx
index f13905cea3..2dca34ca79 100644
--- a/apps/fluent-tester/src/TestComponents/Icon/IconTest.tsx
+++ b/apps/fluent-tester/src/TestComponents/Icon/IconTest.tsx
@@ -1,4 +1,3 @@
-/* eslint-disable @typescript-eslint/no-var-requires */
import * as React from 'react';
import { Platform, PlatformColor, View } from 'react-native';
diff --git a/apps/fluent-tester/src/TestComponents/Icon/IconV1E2ETest.tsx b/apps/fluent-tester/src/TestComponents/Icon/IconV1E2ETest.tsx
index 937ada569b..f31ddbd7e1 100644
--- a/apps/fluent-tester/src/TestComponents/Icon/IconV1E2ETest.tsx
+++ b/apps/fluent-tester/src/TestComponents/Icon/IconV1E2ETest.tsx
@@ -1,4 +1,3 @@
-/* eslint-disable @typescript-eslint/no-var-requires */
import * as React from 'react';
import { View } from 'react-native';
diff --git a/apps/fluent-tester/src/TestComponents/MenuButtonLegacy/testData.ts b/apps/fluent-tester/src/TestComponents/MenuButtonLegacy/testData.ts
index ccd690872b..31ddda93e6 100644
--- a/apps/fluent-tester/src/TestComponents/MenuButtonLegacy/testData.ts
+++ b/apps/fluent-tester/src/TestComponents/MenuButtonLegacy/testData.ts
@@ -1,4 +1,3 @@
-/* eslint-disable @typescript-eslint/no-var-requires */
import type { MenuButtonItemProps } from '@fluentui/react-native';
import { MENU_ITEM_1_COMPONENT } from '@fluentui-react-native/e2e-testing';
diff --git a/apps/fluent-tester/src/TestComponents/MenuButtonV1/testData.ts b/apps/fluent-tester/src/TestComponents/MenuButtonV1/testData.ts
index b977ef4064..84b90227af 100644
--- a/apps/fluent-tester/src/TestComponents/MenuButtonV1/testData.ts
+++ b/apps/fluent-tester/src/TestComponents/MenuButtonV1/testData.ts
@@ -1,4 +1,3 @@
-/* eslint-disable @typescript-eslint/no-var-requires */
import type { MenuButtonItemProps } from '@fluentui/react-native';
import { testImage, svgProps } from '../Common/iconExamples';
diff --git a/apps/fluent-tester/src/TestComponents/Svg/SvgTest.tsx b/apps/fluent-tester/src/TestComponents/Svg/SvgTest.tsx
index 282737d680..7745266c51 100644
--- a/apps/fluent-tester/src/TestComponents/Svg/SvgTest.tsx
+++ b/apps/fluent-tester/src/TestComponents/Svg/SvgTest.tsx
@@ -225,9 +225,6 @@ const BundledSvgTest: React.FunctionComponent = () => {
};
const RemoteSvgTest: React.FunctionComponent = () => {
- // GH#1596: Temporarily stop testing this case until it can be either more robust or removed
- const shouldShowLocalNetwork = false;
-
return (
{
accessibilityLabel="SVG Uri Test"
accessibilityRole="image"
/>
- {shouldShowLocalNetwork && (
-
- )}
);
};
diff --git a/change/@fluentui-react-native-adapters-3e6769fd-4d09-4122-8581-9db381a4bf1d.json b/change/@fluentui-react-native-adapters-3e6769fd-4d09-4122-8581-9db381a4bf1d.json
new file mode 100644
index 0000000000..578787ecec
--- /dev/null
+++ b/change/@fluentui-react-native-adapters-3e6769fd-4d09-4122-8581-9db381a4bf1d.json
@@ -0,0 +1,7 @@
+{
+ "type": "patch",
+ "comment": "fix repo linting with new configs and version, fixing linting errors as well",
+ "packageName": "@fluentui-react-native/adapters",
+ "email": "jasonmo@microsoft.com",
+ "dependentChangeType": "patch"
+}
diff --git a/change/@fluentui-react-native-android-theme-98515c50-65ab-457e-b5e3-f74360d299a1.json b/change/@fluentui-react-native-android-theme-98515c50-65ab-457e-b5e3-f74360d299a1.json
new file mode 100644
index 0000000000..1c1fac107c
--- /dev/null
+++ b/change/@fluentui-react-native-android-theme-98515c50-65ab-457e-b5e3-f74360d299a1.json
@@ -0,0 +1,7 @@
+{
+ "type": "patch",
+ "comment": "fix repo linting with new configs and version, fixing linting errors as well",
+ "packageName": "@fluentui-react-native/android-theme",
+ "email": "jasonmo@microsoft.com",
+ "dependentChangeType": "patch"
+}
diff --git a/change/@fluentui-react-native-apple-theme-8718ada1-1b3d-4271-98fd-95a8eb900fdc.json b/change/@fluentui-react-native-apple-theme-8718ada1-1b3d-4271-98fd-95a8eb900fdc.json
new file mode 100644
index 0000000000..f5bf680b31
--- /dev/null
+++ b/change/@fluentui-react-native-apple-theme-8718ada1-1b3d-4271-98fd-95a8eb900fdc.json
@@ -0,0 +1,7 @@
+{
+ "type": "patch",
+ "comment": "fix repo linting with new configs and version, fixing linting errors as well",
+ "packageName": "@fluentui-react-native/apple-theme",
+ "email": "jasonmo@microsoft.com",
+ "dependentChangeType": "patch"
+}
diff --git a/change/@fluentui-react-native-badge-9e71f599-3e29-44a7-b2fc-b510b0d0f601.json b/change/@fluentui-react-native-badge-9e71f599-3e29-44a7-b2fc-b510b0d0f601.json
new file mode 100644
index 0000000000..e803b1b5f4
--- /dev/null
+++ b/change/@fluentui-react-native-badge-9e71f599-3e29-44a7-b2fc-b510b0d0f601.json
@@ -0,0 +1,7 @@
+{
+ "type": "patch",
+ "comment": "fix repo linting with new configs and version, fixing linting errors as well",
+ "packageName": "@fluentui-react-native/badge",
+ "email": "jasonmo@microsoft.com",
+ "dependentChangeType": "patch"
+}
diff --git a/change/@fluentui-react-native-button-c1ad771e-45ff-46d8-83b5-0fdccb118fd8.json b/change/@fluentui-react-native-button-c1ad771e-45ff-46d8-83b5-0fdccb118fd8.json
new file mode 100644
index 0000000000..f839cf96e9
--- /dev/null
+++ b/change/@fluentui-react-native-button-c1ad771e-45ff-46d8-83b5-0fdccb118fd8.json
@@ -0,0 +1,7 @@
+{
+ "type": "patch",
+ "comment": "fix repo linting with new configs and version, fixing linting errors as well",
+ "packageName": "@fluentui-react-native/button",
+ "email": "jasonmo@microsoft.com",
+ "dependentChangeType": "patch"
+}
diff --git a/change/@fluentui-react-native-chip-832280b9-5bed-4cb7-8e4d-fed76cb126a5.json b/change/@fluentui-react-native-chip-832280b9-5bed-4cb7-8e4d-fed76cb126a5.json
new file mode 100644
index 0000000000..e1be9fbadc
--- /dev/null
+++ b/change/@fluentui-react-native-chip-832280b9-5bed-4cb7-8e4d-fed76cb126a5.json
@@ -0,0 +1,7 @@
+{
+ "type": "patch",
+ "comment": "fix repo linting with new configs and version, fixing linting errors as well",
+ "packageName": "@fluentui-react-native/chip",
+ "email": "jasonmo@microsoft.com",
+ "dependentChangeType": "patch"
+}
diff --git a/change/@fluentui-react-native-codemods-8d308b4b-cfb2-4f1f-9346-1ff072fed447.json b/change/@fluentui-react-native-codemods-8d308b4b-cfb2-4f1f-9346-1ff072fed447.json
new file mode 100644
index 0000000000..f6d0114867
--- /dev/null
+++ b/change/@fluentui-react-native-codemods-8d308b4b-cfb2-4f1f-9346-1ff072fed447.json
@@ -0,0 +1,7 @@
+{
+ "type": "patch",
+ "comment": "fix repo linting with new configs and version, fixing linting errors as well",
+ "packageName": "@fluentui-react-native/codemods",
+ "email": "jasonmo@microsoft.com",
+ "dependentChangeType": "patch"
+}
diff --git a/change/@fluentui-react-native-default-theme-29a0f266-77d4-42f9-8c88-205cd32341ec.json b/change/@fluentui-react-native-default-theme-29a0f266-77d4-42f9-8c88-205cd32341ec.json
new file mode 100644
index 0000000000..2f8c52751c
--- /dev/null
+++ b/change/@fluentui-react-native-default-theme-29a0f266-77d4-42f9-8c88-205cd32341ec.json
@@ -0,0 +1,7 @@
+{
+ "type": "patch",
+ "comment": "fix repo linting with new configs and version, fixing linting errors as well",
+ "packageName": "@fluentui-react-native/default-theme",
+ "email": "jasonmo@microsoft.com",
+ "dependentChangeType": "patch"
+}
diff --git a/change/@fluentui-react-native-dropdown-27d9b943-560c-4dbf-849d-e967cb0fca57.json b/change/@fluentui-react-native-dropdown-27d9b943-560c-4dbf-849d-e967cb0fca57.json
new file mode 100644
index 0000000000..a6aa84454d
--- /dev/null
+++ b/change/@fluentui-react-native-dropdown-27d9b943-560c-4dbf-849d-e967cb0fca57.json
@@ -0,0 +1,7 @@
+{
+ "type": "patch",
+ "comment": "fix repo linting with new configs and version, fixing linting errors as well",
+ "packageName": "@fluentui-react-native/dropdown",
+ "email": "jasonmo@microsoft.com",
+ "dependentChangeType": "patch"
+}
diff --git a/change/@fluentui-react-native-e2e-testing-37de513c-aca4-42e1-a268-d107e2b55d81.json b/change/@fluentui-react-native-e2e-testing-37de513c-aca4-42e1-a268-d107e2b55d81.json
new file mode 100644
index 0000000000..1e675dff79
--- /dev/null
+++ b/change/@fluentui-react-native-e2e-testing-37de513c-aca4-42e1-a268-d107e2b55d81.json
@@ -0,0 +1,7 @@
+{
+ "type": "patch",
+ "comment": "fix repo linting with new configs and version, fixing linting errors as well",
+ "packageName": "@fluentui-react-native/e2e-testing",
+ "email": "jasonmo@microsoft.com",
+ "dependentChangeType": "patch"
+}
diff --git a/change/@fluentui-react-native-experimental-appearance-additions-cf6a2762-71cd-4094-8117-404c7a16e5ba.json b/change/@fluentui-react-native-experimental-appearance-additions-cf6a2762-71cd-4094-8117-404c7a16e5ba.json
new file mode 100644
index 0000000000..f8fe8a9a9b
--- /dev/null
+++ b/change/@fluentui-react-native-experimental-appearance-additions-cf6a2762-71cd-4094-8117-404c7a16e5ba.json
@@ -0,0 +1,7 @@
+{
+ "type": "patch",
+ "comment": "fix repo linting with new configs and version, fixing linting errors as well",
+ "packageName": "@fluentui-react-native/experimental-appearance-additions",
+ "email": "jasonmo@microsoft.com",
+ "dependentChangeType": "patch"
+}
diff --git a/change/@fluentui-react-native-focus-zone-768810b8-9093-4939-a910-cab9fd6d8dcf.json b/change/@fluentui-react-native-focus-zone-768810b8-9093-4939-a910-cab9fd6d8dcf.json
new file mode 100644
index 0000000000..947a6da63b
--- /dev/null
+++ b/change/@fluentui-react-native-focus-zone-768810b8-9093-4939-a910-cab9fd6d8dcf.json
@@ -0,0 +1,7 @@
+{
+ "type": "patch",
+ "comment": "fix repo linting with new configs and version, fixing linting errors as well",
+ "packageName": "@fluentui-react-native/focus-zone",
+ "email": "jasonmo@microsoft.com",
+ "dependentChangeType": "patch"
+}
diff --git a/change/@fluentui-react-native-framework-a52d2934-bf00-442c-b88b-d196b4f103e0.json b/change/@fluentui-react-native-framework-a52d2934-bf00-442c-b88b-d196b4f103e0.json
new file mode 100644
index 0000000000..413a3e525a
--- /dev/null
+++ b/change/@fluentui-react-native-framework-a52d2934-bf00-442c-b88b-d196b4f103e0.json
@@ -0,0 +1,7 @@
+{
+ "type": "patch",
+ "comment": "fix repo linting with new configs and version, fixing linting errors as well",
+ "packageName": "@fluentui-react-native/framework",
+ "email": "jasonmo@microsoft.com",
+ "dependentChangeType": "patch"
+}
diff --git a/change/@fluentui-react-native-immutable-merge-c2268509-58df-4bc3-9d22-373050f9ab8d.json b/change/@fluentui-react-native-immutable-merge-c2268509-58df-4bc3-9d22-373050f9ab8d.json
new file mode 100644
index 0000000000..faa34b48c2
--- /dev/null
+++ b/change/@fluentui-react-native-immutable-merge-c2268509-58df-4bc3-9d22-373050f9ab8d.json
@@ -0,0 +1,7 @@
+{
+ "type": "patch",
+ "comment": "fix repo linting with new configs and version, fixing linting errors as well",
+ "packageName": "@fluentui-react-native/immutable-merge",
+ "email": "jasonmo@microsoft.com",
+ "dependentChangeType": "patch"
+}
diff --git a/change/@fluentui-react-native-interactive-hooks-ae27cfa5-bf28-4a25-a0fd-431e62b90884.json b/change/@fluentui-react-native-interactive-hooks-ae27cfa5-bf28-4a25-a0fd-431e62b90884.json
new file mode 100644
index 0000000000..bcbb71d529
--- /dev/null
+++ b/change/@fluentui-react-native-interactive-hooks-ae27cfa5-bf28-4a25-a0fd-431e62b90884.json
@@ -0,0 +1,7 @@
+{
+ "type": "patch",
+ "comment": "fix repo linting with new configs and version, fixing linting errors as well",
+ "packageName": "@fluentui-react-native/interactive-hooks",
+ "email": "jasonmo@microsoft.com",
+ "dependentChangeType": "patch"
+}
diff --git a/change/@fluentui-react-native-link-60d1ec07-cc43-4c24-a83d-16b05544e9ab.json b/change/@fluentui-react-native-link-60d1ec07-cc43-4c24-a83d-16b05544e9ab.json
new file mode 100644
index 0000000000..4bd935bfdb
--- /dev/null
+++ b/change/@fluentui-react-native-link-60d1ec07-cc43-4c24-a83d-16b05544e9ab.json
@@ -0,0 +1,7 @@
+{
+ "type": "patch",
+ "comment": "fix repo linting with new configs and version, fixing linting errors as well",
+ "packageName": "@fluentui-react-native/link",
+ "email": "jasonmo@microsoft.com",
+ "dependentChangeType": "patch"
+}
diff --git a/change/@fluentui-react-native-memo-cache-a7d6b9d9-7a56-402d-b67b-d73f0c3ae745.json b/change/@fluentui-react-native-memo-cache-a7d6b9d9-7a56-402d-b67b-d73f0c3ae745.json
new file mode 100644
index 0000000000..25be062faa
--- /dev/null
+++ b/change/@fluentui-react-native-memo-cache-a7d6b9d9-7a56-402d-b67b-d73f0c3ae745.json
@@ -0,0 +1,7 @@
+{
+ "type": "patch",
+ "comment": "fix repo linting with new configs and version, fixing linting errors as well",
+ "packageName": "@fluentui-react-native/memo-cache",
+ "email": "jasonmo@microsoft.com",
+ "dependentChangeType": "patch"
+}
diff --git a/change/@fluentui-react-native-menu-a1c6c0a4-95bb-4486-bbcf-a53e92ad6bb7.json b/change/@fluentui-react-native-menu-a1c6c0a4-95bb-4486-bbcf-a53e92ad6bb7.json
new file mode 100644
index 0000000000..9d4280970f
--- /dev/null
+++ b/change/@fluentui-react-native-menu-a1c6c0a4-95bb-4486-bbcf-a53e92ad6bb7.json
@@ -0,0 +1,7 @@
+{
+ "type": "patch",
+ "comment": "fix repo linting with new configs and version, fixing linting errors as well",
+ "packageName": "@fluentui-react-native/menu",
+ "email": "jasonmo@microsoft.com",
+ "dependentChangeType": "patch"
+}
diff --git a/change/@fluentui-react-native-merge-props-7d1376dc-5b1e-4cb5-b8ba-5b34ed880632.json b/change/@fluentui-react-native-merge-props-7d1376dc-5b1e-4cb5-b8ba-5b34ed880632.json
new file mode 100644
index 0000000000..19f2883705
--- /dev/null
+++ b/change/@fluentui-react-native-merge-props-7d1376dc-5b1e-4cb5-b8ba-5b34ed880632.json
@@ -0,0 +1,7 @@
+{
+ "type": "patch",
+ "comment": "fix repo linting with new configs and version, fixing linting errors as well",
+ "packageName": "@fluentui-react-native/merge-props",
+ "email": "jasonmo@microsoft.com",
+ "dependentChangeType": "patch"
+}
diff --git a/change/@fluentui-react-native-popover-0c8d05cb-5282-419d-a50d-4795a0a864f0.json b/change/@fluentui-react-native-popover-0c8d05cb-5282-419d-a50d-4795a0a864f0.json
new file mode 100644
index 0000000000..ac65bfa40a
--- /dev/null
+++ b/change/@fluentui-react-native-popover-0c8d05cb-5282-419d-a50d-4795a0a864f0.json
@@ -0,0 +1,7 @@
+{
+ "type": "patch",
+ "comment": "fix repo linting with new configs and version, fixing linting errors as well",
+ "packageName": "@fluentui-react-native/popover",
+ "email": "jasonmo@microsoft.com",
+ "dependentChangeType": "patch"
+}
diff --git a/change/@fluentui-react-native-pressable-a4120a74-65da-47fc-a4f1-209de9dcfd2a.json b/change/@fluentui-react-native-pressable-a4120a74-65da-47fc-a4f1-209de9dcfd2a.json
new file mode 100644
index 0000000000..fe2f85ee77
--- /dev/null
+++ b/change/@fluentui-react-native-pressable-a4120a74-65da-47fc-a4f1-209de9dcfd2a.json
@@ -0,0 +1,7 @@
+{
+ "type": "patch",
+ "comment": "fix repo linting with new configs and version, fixing linting errors as well",
+ "packageName": "@fluentui-react-native/pressable",
+ "email": "jasonmo@microsoft.com",
+ "dependentChangeType": "patch"
+}
diff --git a/change/@fluentui-react-native-radio-group-11894281-4261-4f73-9294-e2010a724af3.json b/change/@fluentui-react-native-radio-group-11894281-4261-4f73-9294-e2010a724af3.json
new file mode 100644
index 0000000000..08d015e509
--- /dev/null
+++ b/change/@fluentui-react-native-radio-group-11894281-4261-4f73-9294-e2010a724af3.json
@@ -0,0 +1,7 @@
+{
+ "type": "patch",
+ "comment": "fix repo linting with new configs and version, fixing linting errors as well",
+ "packageName": "@fluentui-react-native/radio-group",
+ "email": "jasonmo@microsoft.com",
+ "dependentChangeType": "patch"
+}
diff --git a/change/@fluentui-react-native-stack-89710f69-d4b7-4289-a6a8-db8535bfafcc.json b/change/@fluentui-react-native-stack-89710f69-d4b7-4289-a6a8-db8535bfafcc.json
new file mode 100644
index 0000000000..5fddb4d722
--- /dev/null
+++ b/change/@fluentui-react-native-stack-89710f69-d4b7-4289-a6a8-db8535bfafcc.json
@@ -0,0 +1,7 @@
+{
+ "type": "patch",
+ "comment": "fix repo linting with new configs and version, fixing linting errors as well",
+ "packageName": "@fluentui-react-native/stack",
+ "email": "jasonmo@microsoft.com",
+ "dependentChangeType": "patch"
+}
diff --git a/change/@fluentui-react-native-tablist-0a87735d-4501-49a2-bdee-4f89cfeeeab2.json b/change/@fluentui-react-native-tablist-0a87735d-4501-49a2-bdee-4f89cfeeeab2.json
new file mode 100644
index 0000000000..505f24bbc5
--- /dev/null
+++ b/change/@fluentui-react-native-tablist-0a87735d-4501-49a2-bdee-4f89cfeeeab2.json
@@ -0,0 +1,7 @@
+{
+ "type": "patch",
+ "comment": "fix repo linting with new configs and version, fixing linting errors as well",
+ "packageName": "@fluentui-react-native/tablist",
+ "email": "jasonmo@microsoft.com",
+ "dependentChangeType": "patch"
+}
diff --git a/change/@fluentui-react-native-tester-0e76f426-0103-4261-8d07-d8510997e418.json b/change/@fluentui-react-native-tester-0e76f426-0103-4261-8d07-d8510997e418.json
new file mode 100644
index 0000000000..3dd0c50b7d
--- /dev/null
+++ b/change/@fluentui-react-native-tester-0e76f426-0103-4261-8d07-d8510997e418.json
@@ -0,0 +1,7 @@
+{
+ "type": "patch",
+ "comment": "fix repo linting with new configs and version, fixing linting errors as well",
+ "packageName": "@fluentui-react-native/tester",
+ "email": "jasonmo@microsoft.com",
+ "dependentChangeType": "patch"
+}
diff --git a/change/@fluentui-react-native-theme-tokens-1f9944bb-4a08-484d-9a01-1dcc5b55d3e8.json b/change/@fluentui-react-native-theme-tokens-1f9944bb-4a08-484d-9a01-1dcc5b55d3e8.json
new file mode 100644
index 0000000000..a1953eb940
--- /dev/null
+++ b/change/@fluentui-react-native-theme-tokens-1f9944bb-4a08-484d-9a01-1dcc5b55d3e8.json
@@ -0,0 +1,7 @@
+{
+ "type": "patch",
+ "comment": "fix repo linting with new configs and version, fixing linting errors as well",
+ "packageName": "@fluentui-react-native/theme-tokens",
+ "email": "jasonmo@microsoft.com",
+ "dependentChangeType": "patch"
+}
diff --git a/change/@fluentui-react-native-theme-types-492f6917-4850-46d2-bca8-e1553c1fbbf4.json b/change/@fluentui-react-native-theme-types-492f6917-4850-46d2-bca8-e1553c1fbbf4.json
new file mode 100644
index 0000000000..b3755aee9b
--- /dev/null
+++ b/change/@fluentui-react-native-theme-types-492f6917-4850-46d2-bca8-e1553c1fbbf4.json
@@ -0,0 +1,7 @@
+{
+ "type": "patch",
+ "comment": "fix repo linting with new configs and version, fixing linting errors as well",
+ "packageName": "@fluentui-react-native/theme-types",
+ "email": "jasonmo@microsoft.com",
+ "dependentChangeType": "patch"
+}
diff --git a/change/@fluentui-react-native-themed-stylesheet-2aca423d-cf34-471b-82b4-8da39e0345f8.json b/change/@fluentui-react-native-themed-stylesheet-2aca423d-cf34-471b-82b4-8da39e0345f8.json
new file mode 100644
index 0000000000..36d0dc66d7
--- /dev/null
+++ b/change/@fluentui-react-native-themed-stylesheet-2aca423d-cf34-471b-82b4-8da39e0345f8.json
@@ -0,0 +1,7 @@
+{
+ "type": "patch",
+ "comment": "fix repo linting with new configs and version, fixing linting errors as well",
+ "packageName": "@fluentui-react-native/themed-stylesheet",
+ "email": "jasonmo@microsoft.com",
+ "dependentChangeType": "patch"
+}
diff --git a/change/@fluentui-react-native-use-slot-d2bac431-2c6d-41ee-a592-8cf7d0739c22.json b/change/@fluentui-react-native-use-slot-d2bac431-2c6d-41ee-a592-8cf7d0739c22.json
new file mode 100644
index 0000000000..8f21dc1b49
--- /dev/null
+++ b/change/@fluentui-react-native-use-slot-d2bac431-2c6d-41ee-a592-8cf7d0739c22.json
@@ -0,0 +1,7 @@
+{
+ "type": "patch",
+ "comment": "fix repo linting with new configs and version, fixing linting errors as well",
+ "packageName": "@fluentui-react-native/use-slot",
+ "email": "jasonmo@microsoft.com",
+ "dependentChangeType": "patch"
+}
diff --git a/change/@fluentui-react-native-use-slots-4cb3c6d6-74bc-4635-a41a-3991f941e8e7.json b/change/@fluentui-react-native-use-slots-4cb3c6d6-74bc-4635-a41a-3991f941e8e7.json
new file mode 100644
index 0000000000..477cf77fed
--- /dev/null
+++ b/change/@fluentui-react-native-use-slots-4cb3c6d6-74bc-4635-a41a-3991f941e8e7.json
@@ -0,0 +1,7 @@
+{
+ "type": "patch",
+ "comment": "fix repo linting with new configs and version, fixing linting errors as well",
+ "packageName": "@fluentui-react-native/use-slots",
+ "email": "jasonmo@microsoft.com",
+ "dependentChangeType": "patch"
+}
diff --git a/change/@fluentui-react-native-win32-theme-d5521e8a-e17d-4615-87aa-8a09099460bd.json b/change/@fluentui-react-native-win32-theme-d5521e8a-e17d-4615-87aa-8a09099460bd.json
new file mode 100644
index 0000000000..30305f7254
--- /dev/null
+++ b/change/@fluentui-react-native-win32-theme-d5521e8a-e17d-4615-87aa-8a09099460bd.json
@@ -0,0 +1,7 @@
+{
+ "type": "patch",
+ "comment": "fix repo linting with new configs and version, fixing linting errors as well",
+ "packageName": "@fluentui-react-native/win32-theme",
+ "email": "jasonmo@microsoft.com",
+ "dependentChangeType": "patch"
+}
diff --git a/change/@uifabricshared-foundation-composable-4db5720e-eb0c-4a9b-be71-1eb8c388ed78.json b/change/@uifabricshared-foundation-composable-4db5720e-eb0c-4a9b-be71-1eb8c388ed78.json
new file mode 100644
index 0000000000..47008140b4
--- /dev/null
+++ b/change/@uifabricshared-foundation-composable-4db5720e-eb0c-4a9b-be71-1eb8c388ed78.json
@@ -0,0 +1,7 @@
+{
+ "type": "patch",
+ "comment": "fix repo linting with new configs and version, fixing linting errors as well",
+ "packageName": "@uifabricshared/foundation-composable",
+ "email": "jasonmo@microsoft.com",
+ "dependentChangeType": "patch"
+}
diff --git a/change/@uifabricshared-foundation-compose-baed93dc-60c9-4600-bf50-7d5521df6461.json b/change/@uifabricshared-foundation-compose-baed93dc-60c9-4600-bf50-7d5521df6461.json
new file mode 100644
index 0000000000..63b75d71ed
--- /dev/null
+++ b/change/@uifabricshared-foundation-compose-baed93dc-60c9-4600-bf50-7d5521df6461.json
@@ -0,0 +1,7 @@
+{
+ "type": "patch",
+ "comment": "fix repo linting with new configs and version, fixing linting errors as well",
+ "packageName": "@uifabricshared/foundation-compose",
+ "email": "jasonmo@microsoft.com",
+ "dependentChangeType": "patch"
+}
diff --git a/change/@uifabricshared-foundation-settings-f67a238a-9678-4a3b-8282-4292f87f0240.json b/change/@uifabricshared-foundation-settings-f67a238a-9678-4a3b-8282-4292f87f0240.json
new file mode 100644
index 0000000000..b8bb6ee410
--- /dev/null
+++ b/change/@uifabricshared-foundation-settings-f67a238a-9678-4a3b-8282-4292f87f0240.json
@@ -0,0 +1,7 @@
+{
+ "type": "patch",
+ "comment": "fix repo linting with new configs and version, fixing linting errors as well",
+ "packageName": "@uifabricshared/foundation-settings",
+ "email": "jasonmo@microsoft.com",
+ "dependentChangeType": "patch"
+}
diff --git a/change/@uifabricshared-theme-registry-2af1a8e1-c4b7-4ea7-8a1d-06cd134dfb09.json b/change/@uifabricshared-theme-registry-2af1a8e1-c4b7-4ea7-8a1d-06cd134dfb09.json
new file mode 100644
index 0000000000..b9bdae7828
--- /dev/null
+++ b/change/@uifabricshared-theme-registry-2af1a8e1-c4b7-4ea7-8a1d-06cd134dfb09.json
@@ -0,0 +1,7 @@
+{
+ "type": "patch",
+ "comment": "fix repo linting with new configs and version, fixing linting errors as well",
+ "packageName": "@uifabricshared/theme-registry",
+ "email": "jasonmo@microsoft.com",
+ "dependentChangeType": "patch"
+}
diff --git a/change/@uifabricshared-themed-settings-dc337503-b188-467d-8958-53fd625d4912.json b/change/@uifabricshared-themed-settings-dc337503-b188-467d-8958-53fd625d4912.json
new file mode 100644
index 0000000000..bab073fe28
--- /dev/null
+++ b/change/@uifabricshared-themed-settings-dc337503-b188-467d-8958-53fd625d4912.json
@@ -0,0 +1,7 @@
+{
+ "type": "patch",
+ "comment": "fix repo linting with new configs and version, fixing linting errors as well",
+ "packageName": "@uifabricshared/themed-settings",
+ "email": "jasonmo@microsoft.com",
+ "dependentChangeType": "patch"
+}
diff --git a/change/@uifabricshared-theming-ramp-2ac6b5e8-9d82-4a74-822c-81c13db40000.json b/change/@uifabricshared-theming-ramp-2ac6b5e8-9d82-4a74-822c-81c13db40000.json
new file mode 100644
index 0000000000..6e1349ccfa
--- /dev/null
+++ b/change/@uifabricshared-theming-ramp-2ac6b5e8-9d82-4a74-822c-81c13db40000.json
@@ -0,0 +1,7 @@
+{
+ "type": "patch",
+ "comment": "fix repo linting with new configs and version, fixing linting errors as well",
+ "packageName": "@uifabricshared/theming-ramp",
+ "email": "jasonmo@microsoft.com",
+ "dependentChangeType": "patch"
+}
diff --git a/change/@uifabricshared-theming-react-native-c3080f78-ff2f-48a4-a2df-477e8d421329.json b/change/@uifabricshared-theming-react-native-c3080f78-ff2f-48a4-a2df-477e8d421329.json
new file mode 100644
index 0000000000..ad59efe9c3
--- /dev/null
+++ b/change/@uifabricshared-theming-react-native-c3080f78-ff2f-48a4-a2df-477e8d421329.json
@@ -0,0 +1,7 @@
+{
+ "type": "patch",
+ "comment": "fix repo linting with new configs and version, fixing linting errors as well",
+ "packageName": "@uifabricshared/theming-react-native",
+ "email": "jasonmo@microsoft.com",
+ "dependentChangeType": "patch"
+}
diff --git a/packages/codemods/.eslintignore b/packages/codemods/.eslintignore
deleted file mode 100644
index 2d619cafe3..0000000000
--- a/packages/codemods/.eslintignore
+++ /dev/null
@@ -1 +0,0 @@
-src/transforms/__testfixtures__
diff --git a/packages/codemods/eslint.config.js b/packages/codemods/eslint.config.js
index c98098e068..50bbe55be7 100644
--- a/packages/codemods/eslint.config.js
+++ b/packages/codemods/eslint.config.js
@@ -1,3 +1,8 @@
const baseConfig = require('@fluentui-react-native/eslint-config-rules');
-module.exports = baseConfig;
+module.exports = [
+ ...baseConfig,
+ {
+ ignores: ['src/transforms/__testfixtures__/**/*'],
+ },
+];
diff --git a/packages/components/Badge/src/CounterBadge/CounterBadge.types.ts b/packages/components/Badge/src/CounterBadge/CounterBadge.types.ts
index 8e20bb9ca3..3cdb3d5222 100644
--- a/packages/components/Badge/src/CounterBadge/CounterBadge.types.ts
+++ b/packages/components/Badge/src/CounterBadge/CounterBadge.types.ts
@@ -63,7 +63,7 @@ export interface CounterBadgeTokens extends BadgeTokens {
list?: CounterBadgeTokens; // Android only
}
-export interface CounterBadgeSlotProps extends BadgeSlotProps {}
+export type CounterBadgeSlotProps = BadgeSlotProps;
export interface CounterBadgeState {
showBadge?: boolean;
diff --git a/packages/components/Button/src/ToggleButton/ToggleButton.types.ts b/packages/components/Button/src/ToggleButton/ToggleButton.types.ts
index 56c6a2dc8c..aed4ade14b 100644
--- a/packages/components/Button/src/ToggleButton/ToggleButton.types.ts
+++ b/packages/components/Button/src/ToggleButton/ToggleButton.types.ts
@@ -31,7 +31,7 @@ export interface ToggleButtonInfo extends ButtonInfo {
};
}
-export interface ToggleButtonSlotProps extends ButtonSlotProps {}
+export type ToggleButtonSlotProps = ButtonSlotProps;
export interface ToggleButtonType {
props: ToggleButtonProps;
diff --git a/packages/components/Chip/eslint.config.js b/packages/components/Chip/eslint.config.js
new file mode 100644
index 0000000000..c98098e068
--- /dev/null
+++ b/packages/components/Chip/eslint.config.js
@@ -0,0 +1,3 @@
+const baseConfig = require('@fluentui-react-native/eslint-config-rules');
+
+module.exports = baseConfig;
diff --git a/packages/components/FocusZone/src/FocusZone.types.ts b/packages/components/FocusZone/src/FocusZone.types.ts
index 70b3f5e480..55557ee46c 100644
--- a/packages/components/FocusZone/src/FocusZone.types.ts
+++ b/packages/components/FocusZone/src/FocusZone.types.ts
@@ -6,7 +6,9 @@ import type { IRenderData } from '@uifabricshared/foundation-composable';
export const focusZoneName = 'FocusZone';
-export interface FocusZoneState {}
+// eslint-disable-next-line @typescript-eslint/no-empty-object-type
+type EmptyInterface = {};
+export type FocusZoneState = EmptyInterface;
export type FocusZoneProps = IViewProps & {
/**
@@ -105,7 +107,7 @@ export type FocusZoneTabNavigation =
| 'NavigateStopAtEnds' /* Navigate the FZ with Tab. Stop navigation at ends */
| 'Normal'; /* Navigate the FZ with Tab. Don't trap focus, tabbing at ends moves you out */
-export interface FocusZoneTokens {}
+export type FocusZoneTokens = EmptyInterface;
export interface FocusZoneSlotProps {
root: NativeProps;
diff --git a/packages/components/Link/src/legacy/Link.types.ts b/packages/components/Link/src/legacy/Link.types.ts
index 2e5de9c415..e63bfb0008 100644
--- a/packages/components/Link/src/legacy/Link.types.ts
+++ b/packages/components/Link/src/legacy/Link.types.ts
@@ -6,6 +6,9 @@ import type { ITextProps } from '@fluentui-react-native/text';
import type { IForegroundColorTokens, FontTokens, IBorderTokens } from '@fluentui-react-native/tokens';
import type { IRenderData } from '@uifabricshared/foundation-composable';
+// eslint-disable-next-line @typescript-eslint/no-empty-object-type
+type ObjectBase = {};
+
export const linkName = 'RNFLink';
/**
@@ -43,8 +46,7 @@ export interface ILinkOptions {
url?: string;
}
-// eslint-disable-next-line @typescript-eslint/ban-types
-export type IWithLinkOptions = ILinkOptions & IWithPressableOptions;
+export type IWithLinkOptions = ILinkOptions & IWithPressableOptions;
export interface ILinkProps extends IWithLinkOptions {
/**
diff --git a/packages/components/Menu/src/Menu/Menu.tsx b/packages/components/Menu/src/Menu/Menu.tsx
index c9f2b595cc..6d28107630 100644
--- a/packages/components/Menu/src/Menu/Menu.tsx
+++ b/packages/components/Menu/src/Menu/Menu.tsx
@@ -17,7 +17,6 @@ export const Menu = stagedComponent((props: MenuProps) => {
if (__DEV__) {
if (childrenArray.length !== 2) {
- // eslint-disable-next-line no-console
console.warn('Menu must contain two children');
}
}
diff --git a/packages/components/Menu/src/Menu/useMenu.android.ts b/packages/components/Menu/src/Menu/useMenu.android.ts
index 9f4eb34fdd..7de1f02fc6 100644
--- a/packages/components/Menu/src/Menu/useMenu.android.ts
+++ b/packages/components/Menu/src/Menu/useMenu.android.ts
@@ -118,7 +118,7 @@ export const useMenu = (props: MenuProps): MenuState => {
if (props.open) {
show();
}
- }, [props.open]);
+ }, [props.open, show]);
/**
* onMenuLayout handles the start of the Animation when anchor is clicked
@@ -157,7 +157,8 @@ export const useMenu = (props: MenuProps): MenuState => {
setOpen(e, false, false);
};
- // Adjust position of menu
+ // Adjust position of menu - TODO: fix this warning removal, potentially adds extra re-renders
+ // eslint-disable-next-line react-hooks/exhaustive-deps
const transforms = [];
useMemo(() => {
diff --git a/packages/components/Menu/src/MenuPopover/useMenuPopover.ts b/packages/components/Menu/src/MenuPopover/useMenuPopover.ts
index c3a48c1ef4..445f0bd490 100644
--- a/packages/components/Menu/src/MenuPopover/useMenuPopover.ts
+++ b/packages/components/Menu/src/MenuPopover/useMenuPopover.ts
@@ -29,6 +29,7 @@ export const useMenuPopover = (props: MenuPopoverProps): MenuPopoverState => {
const onDismiss = React.useCallback(() => {
props.onDismiss?.();
setOpen(undefined, false /* isOpen */), [setOpen];
+ // eslint-disable-next-line react-hooks/exhaustive-deps
}, [props.onDismiss, setOpen]);
const dismissBehaviors = isControlled ? controlledDismissBehaviors : undefined;
const directionalHint = props.directionalHint ?? getDirectionalHint(isSubmenu, I18nManager.isRTL);
diff --git a/packages/components/Pressable/src/Pressable.props.ts b/packages/components/Pressable/src/Pressable.props.ts
index e01a1b4e43..c822618fe3 100644
--- a/packages/components/Pressable/src/Pressable.props.ts
+++ b/packages/components/Pressable/src/Pressable.props.ts
@@ -4,8 +4,10 @@ import type { ViewStyle, StyleProp } from 'react-native';
import type { IViewProps } from '@fluentui-react-native/adapters';
import type { IWithPressableOptions, IPressableState } from '@fluentui-react-native/interactive-hooks';
-// eslint-disable-next-line @typescript-eslint/ban-types
-export type IPressableProps = IWithPressableOptions & {
+// eslint-disable-next-line @typescript-eslint/no-empty-object-type
+type ObjectBase = {};
+
+export type IPressableProps = IWithPressableOptions & {
children?: IRenderChild;
// Typescript will not allow an extension of the IView* interface
@@ -41,8 +43,7 @@ export type IRenderChild = IChildAsFunction | React.ReactNode;
*/
export type IRenderStyle = (state: T) => StyleProp;
-// eslint-disable-next-line @typescript-eslint/ban-types
-export type IPressableType = {
+export type IPressableType = {
props: IPressableProps;
slotProps: {
root: TBase;
diff --git a/packages/components/RadioGroup/src/RadioGroup/radioGroupContext.ts b/packages/components/RadioGroup/src/RadioGroup/radioGroupContext.ts
index 15f553d8ab..7b9a53a567 100644
--- a/packages/components/RadioGroup/src/RadioGroup/radioGroupContext.ts
+++ b/packages/components/RadioGroup/src/RadioGroup/radioGroupContext.ts
@@ -5,7 +5,7 @@ import type { RadioGroupState } from './RadioGroup.types';
/**
* Context shared between RadioGroup and its children Radio components
*/
-export interface RadioGroupContextValue extends RadioGroupState {}
+export type RadioGroupContextValue = RadioGroupState;
export const RadioGroupContext = React.createContext({
value: null,
diff --git a/packages/components/Stack/src/Stack.tsx b/packages/components/Stack/src/Stack.tsx
index f3b9c9c4a8..eb7459050c 100644
--- a/packages/components/Stack/src/Stack.tsx
+++ b/packages/components/Stack/src/Stack.tsx
@@ -28,8 +28,10 @@ declare global {
}
}
-// eslint-disable-next-line @typescript-eslint/ban-types
-function _mixinStyle(style: StyleProp