Skip to content

Conversation

@mainframev
Copy link
Contributor

@mainframev mainframev commented Nov 25, 2025

Remove unused eslint-disable comments that were flagged by ESLint reportUnusedDisableDirectives setting. These directives were no long needed as the underlying code no longer violates the disabled rules.

Changes include:
- Removed @typescript-eslint/no-deprecated disables where JSXElement is no longer deprecated (all ignores related to JSXElement are not relevant anymore, since they were introduced to JSX.Element in #34643
- Removed @typescript-eslint/naming-convention disables where naming is compliant
- Removed @fluentui/max-len disables where lines are within limits
- Removed react-hooks/rules-of-hooks disables where hooks are used correctly
- Removed @fluentui/no-context-default-value and @fluentui/ban-context-export disables
- Updated math operations to use ** operator instead of Math.pow

@github-actions
Copy link

github-actions bot commented Nov 25, 2025

📊 Bundle size report

Package & Exports Baseline (minified/GZIP) PR Change
react
Fluent UI React (entire library)
1.019 MB
283.184 kB
1.019 MB
283.182 kB

-2 B
Unchanged fixtures
Package & Exports Size (minified/GZIP)
react
ActivityItem
71.22 kB
23.347 kB
react
Announced
38.472 kB
13.275 kB
react
Autofill
15.42 kB
4.766 kB
react
Breadcrumb
200.805 kB
59.601 kB
react
Button
194.354 kB
55.886 kB
react
ButtonGrid
179.242 kB
53.891 kB
react
Calendar
121.162 kB
36.83 kB
react
Callout
84.299 kB
27.593 kB
react
Check
53.206 kB
17.835 kB
react
Checkbox
59.978 kB
19.874 kB
react
ChoiceGroup
65.488 kB
21.465 kB
react
ChoiceGroupOption
58.769 kB
19.353 kB
react
Coachmark
92.7 kB
29.305 kB
react
Color
7.789 kB
3.127 kB
react
ColorPicker
134.97 kB
42.125 kB
react
ComboBox
250.687 kB
71.515 kB
react
CommandBar
201.861 kB
59.387 kB
react
ContextualMenu
154.229 kB
47.566 kB
react
DatePicker
183.251 kB
55.892 kB
react
DateTimeUtilities
5.244 kB
1.849 kB
react
DetailsList
229.929 kB
65.81 kB
react
Dialog
210.16 kB
62.358 kB
react
Divider
19.588 kB
6.84 kB
react
DocumentCard
215.843 kB
63.666 kB
react
DragDrop
8.343 kB
2.724 kB
react
DraggableZone
34.28 kB
11.488 kB
react
Dropdown
233.151 kB
67.962 kB
react
ExtendedPicker
96.823 kB
27.866 kB
react
Fabric
41.728 kB
14.343 kB
react
Facepile
209.377 kB
62.375 kB
react
FloatingPicker
240.865 kB
68.222 kB
react
FocusTrapZone
16.99 kB
5.891 kB
react
FocusZone
55.1 kB
17.451 kB
react
Grid
179.242 kB
53.891 kB
react
GroupedList
135.035 kB
40.67 kB
react
GroupedListV2
122.659 kB
37.758 kB
react
HoverCard
96.784 kB
30.688 kB
react
Icon
51.887 kB
17.263 kB
react
Icons
66.339 kB
24.385 kB
react
Image
46.901 kB
15.695 kB
react
Keytip
81.301 kB
26.677 kB
react
KeytipData
14.05 kB
4.583 kB
react
KeytipLayer
103.089 kB
31.9 kB
react
Keytips
105.873 kB
32.904 kB
react
Label
38.324 kB
13.241 kB
react
Layer
48.089 kB
16.348 kB
react
Link
39.665 kB
13.653 kB
react
List
39.346 kB
12.454 kB
react
MarqueeSelection
74.49 kB
22.402 kB
react
MessageBar
189.388 kB
56.33 kB
react
Modal
93.738 kB
30.223 kB
react
Nav
186.825 kB
55.723 kB
react
OverflowSet
33.354 kB
11.282 kB
react
Overlay
40.885 kB
14.077 kB
react
Panel
200.327 kB
59.336 kB
react
Persona
114.591 kB
36.435 kB
react
PersonaCoin
114.591 kB
36.435 kB
react
PersonaPresence
58.076 kB
19.372 kB
react
Pickers
297.91 kB
82.996 kB
react
Pivot
187.734 kB
56.5 kB
react
Popup
12.312 kB
4.197 kB
react
Positioning
22.764 kB
7.683 kB
react
PositioningContainer
73.445 kB
23.685 kB
react
ProgressIndicator
39.477 kB
13.528 kB
react
Rating
82.086 kB
26.09 kB
react
ResizeGroup
13.35 kB
4.379 kB
react
ResponsiveMode
8.13 kB
2.966 kB
react
ScrollablePane
55.541 kB
17.718 kB
react
SearchBox
187.63 kB
55.936 kB
react
SelectableOption
724 B
413 B
react
SelectedItemsList
231.35 kB
67.176 kB
react
Selection
42.418 kB
12.26 kB
react
Separator
35.365 kB
12.132 kB
react
Shimmer
49.249 kB
16.258 kB
react
ShimmeredDetailsList
240.71 kB
68.549 kB
react
Slider
57.627 kB
19.198 kB
react
SpinButton
191.297 kB
57.006 kB
react
Spinner
41.759 kB
14.468 kB
react
Stack
42.039 kB
14.389 kB
react
Sticky
32.577 kB
10.488 kB
react
Styling
46.033 kB
15.135 kB
react
SwatchColorPicker
189.637 kB
57.417 kB
react
TeachingBubble
204.648 kB
60.317 kB
react
Text
36.886 kB
12.806 kB
react
TextField
80.798 kB
25.308 kB
react
Theme
43.486 kB
14.168 kB
react
ThemeGenerator
12.384 kB
4.116 kB
react
TimePicker
240.515 kB
69.311 kB
react
Toggle
46.201 kB
15.957 kB
react
Tooltip
87.073 kB
28.151 kB
react
Utilities
82.938 kB
25.15 kB
react
Viewport
23.872 kB
7.642 kB
react
WeeklyDayPicker
101.348 kB
31.644 kB
react
WindowProvider
1.059 kB
541 B
react-accordion
Accordion (including children components)
107.26 kB
32.84 kB
react-charting
AreaChart
299.078 kB
93.301 kB
react-charting
ChartHoverCard
37.196 kB
12.7 kB
react-charting
DeclarativeChart
647.239 kB
182.738 kB
react-charting
DonutChart
194.195 kB
60.841 kB
react-charting
GanttChart
278.567 kB
87.144 kB
react-charting
GaugeChart
194.712 kB
60.486 kB
react-charting
GroupedVerticalBarChart
290.412 kB
90.13 kB
react-charting
HeatMapChart
281.428 kB
87.826 kB
react-charting
HorizontalBarChart
127.238 kB
39.931 kB
react-charting
HorizontalBarChartWithAxis
288.265 kB
89.081 kB
react-charting
Legends
151.235 kB
46.305 kB
react-charting
LineChart
328.606 kB
100.243 kB
react-charting
MultiStackedBarChart
181.411 kB
55.129 kB
react-charting
PieChart
134.239 kB
42.282 kB
react-charting
SankeyChart
149.298 kB
46.659 kB
react-charting
ScatterChart
285 kB
89.521 kB
react-charting
Sparkline
87.616 kB
29.671 kB
react-charting
StackedBarChart
175.092 kB
52.716 kB
react-charting
TreeChart
84.809 kB
26.636 kB
react-charting
VerticalBarChart
300.598 kB
91.596 kB
react-charting
VerticalStackedBarChart
296.558 kB
91.152 kB
react-charts
AreaChart
401.451 kB
122.847 kB
react-charts
DeclarativeChart
719.14 kB
208.19 kB
react-charts
DonutChart
297.339 kB
88.898 kB
react-charts
FunnelChart
288.594 kB
85.727 kB
react-charts
GanttChart
383.208 kB
116.015 kB
react-charts
GaugeChart
312.216 kB
92.539 kB
react-charts
GroupedVerticalBarChart
391.23 kB
118.639 kB
react-charts
HeatMapChart
385.288 kB
117.724 kB
react-charts
HorizontalBarChart
294.96 kB
86.77 kB
react-charts
HorizontalBarChartWithAxis
63 B
83 B
react-charts
Legends
234.066 kB
69.154 kB
react-charts
LineChart
410.739 kB
124.283 kB
react-charts
SankeyChart
199.518 kB
61.371 kB
react-charts
ScatterChart
390.63 kB
118.543 kB
react-charts
Sparkline
91.385 kB
28.704 kB
react-charts
VerticalBarChart
425.562 kB
123.604 kB
react-charts
VerticalStackedBarChart
397.459 kB
119.543 kB
react-components
react-components: Button, FluentProvider & webLightTheme
68.702 kB
19.799 kB
react-components
react-components: Accordion, Button, FluentProvider, Image, Menu, Popover
235.705 kB
68.293 kB
react-components
react-components: FluentProvider & webLightTheme
43.528 kB
14.148 kB
react-components
react-components: entire library
1.278 MB
320.665 kB
react-dialog
Dialog (including children components)
102.738 kB
30.646 kB
react-message-bar
MessageBar (all components)
24.057 kB
8.884 kB
react-motion
@fluentui/react-motion - createMotionComponent()
4.109 kB
1.806 kB
react-motion
@fluentui/react-motion - createPresenceComponent()
5.771 kB
2.396 kB
react-motion
@fluentui/react-motion - PresenceGroup
1.727 kB
823 B
react-portal-compat
PortalCompatProvider
8.386 kB
2.624 kB
react-timepicker-compat
TimePicker
108.943 kB
35.995 kB
react-toast
Toast (including Toaster)
103.22 kB
30.88 kB
react-tree
FlatTree
148.292 kB
42.393 kB
react-tree
PersonaFlatTree
150.12 kB
42.772 kB
react-tree
PersonaTree
146.181 kB
41.588 kB
react-tree
Tree
144.361 kB
41.232 kB
🤖 This report was generated against 5c7b918a823c3f8fe5b4ae015287454feff4889a

@github-actions
Copy link

Pull request demo site: URL

Remove unused eslint-disable comments that were flagged by ESLint's
reportUnusedDisableDirectives setting. These directives were no longer
needed as the underlying code no longer violates the disabled rules.

Changes include:
- Removed @typescript-eslint/no-deprecated disables where JSXElement is no longer deprecated
- Removed @typescript-eslint/naming-convention disables where naming is compliant
- Removed @fluentui/max-len disables where lines are within limits
- Removed react-hooks/rules-of-hooks disables where hooks are used correctly
- Cleaned up prefer-const disables where const is now properly used
- Removed @fluentui/no-context-default-value and @fluentui/ban-context-export disables
- Updated math operations to use ** operator instead of Math.pow

Files affected:
- packages/react-experiments (FloatingSuggestions, Persona, Tile, UnifiedPicker, etc.)
- packages/react (tests and components)
- packages/react-file-type-icons
- packages/react-hooks
- packages/react-window-provider
- packages/utilities
@mainframev mainframev force-pushed the chore/remove-redundant-eslint-disables branch from 36b8aa0 to 75225fd Compare November 26, 2025 19:02
@tudorpopams tudorpopams merged commit 048de70 into microsoft:master Nov 27, 2025
12 checks passed
mainframev added a commit to mainframev/fluentui that referenced this pull request Nov 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants