eslint-plugin-compat
eslint-plugin-compat copied to clipboard
mdn browser definition is outdated
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 uses ast-metadata-inferer as intermediate layer.
The issue is that ast-metadata-inferer is packages with it's own compat.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
seems like this is the reason causing the linter not reporting the Array toReversed toSorted toSpliced methods