Open maxired opened 10 months ago
seems like this is the reason causing the linter not reporting the Array toReversed
toSorted
toSpliced
methods
Does this mean all browser features added after February 2023 are not being caught at the moment?
I was about to add eslint-plugin-compat
to protect against a mistake I made (using toSpliced
) but it does not catch it so I feel like the tool is not worth the added complexity for now.
Hi,
is seems that the mdn browser definition is outdated and cannot be updated. From what I understand, this code does not import directly
@mdn/browser-compat-data
, but usesast-metadata-inferer
as intermediate layer.The issue is that
ast-metadata-inferer
is packages with it's owncompat.json
file, build at release time, with previous version of@mdn/browser-compat-data
. this means that upgrading@mdn/browser-compat-data
locally does not solve the issue