Fix bug in `getElementType` logic by khiga8 · Pull Request #525 · github/eslint-plugin-github
This PR fixes a few issues:
1. Fixing bug in getElementType logic
const mapping = { 'Box': 'div' }
will be interpreted as div. Currently the linter will check the mapping if it is unable to interpret the polymorphic value. However, it should not do that because that is not a correct interpretation.
2. Fixing mjs tests that aren't running
I noticed the tests in utils aren't running even when calling npm run test.
This seems related to this change where the tests were converted to .mjs, but the .mjs tests aren't actually running. When I fixed the command, the tests are being targeted. The test will not run properly without the .js extension.
3. Drops node 14 support
Drops node 14 support per slack thread!