TIL: Since some time ago, you have to ask the linter to give deprecated warnings from the same package

Until today, I thought I’m hitting some intermittent bug! I made a member deprecated, and the linter wouldn’t show me warnings even when I knew for a fact that the member is used all over the place.

Today, I finally filed the bug:

But then immediately realized it’s just a linter setting now!

linter:
  rules:
    deprecated_member_use_from_same_package: true
5 Likes