Easing is a design decision
Two animations with the same start, end and duration can feel completely different. The difference is the easing curve, and choosing it is design, not polish.
Things arriving should decelerate
An element entering the screen should start fast and settle: ease-out. It feels responsive because most of the movement happens immediately. Ease-in, slow start and fast finish, makes an interface feel like it is hesitating. Save it for things leaving, where the slow start reads as letting go.
Linear is for things that are not objects
Progress bars, colour changes, a loading spinner's rotation. Anything meant to feel like a physical thing moving should not be linear, because nothing with mass moves that way.
Short for small, longer for far
A button state: around 100–150 ms. A dropdown: around 200 ms. A panel crossing the screen: 300–500 ms. If you notice an everyday animation as an animation, it is probably too long.
Springs, when the user is involved
A spring has no fixed duration; it has stiffness and damping. That is exactly right for anything following a gesture, because it can pick up the finger's velocity and continue from it. A fixed curve started at release always feels like a hand-off.
One custom curve beats five defaults
The built-in ease is fine and forgettable. Pick one stronger ease-out for the whole product, something like cubic-bezier(0.22, 1, 0.36, 1), and use it everywhere. Consistency in motion reads as quality even to people who could not say why.
And the off switch
Honour prefers-reduced-motion. Motion that helps some people makes others unwell.