Version 6.0.0
Major
- Use the ESLint
sort-importsrule to sort named imports. - Updated the
eslint-plugin-nodepeer dependency to^9.0.0. - Remove
.mjsfile config overrides thateslint-plugin-nodenow handles.
Minor
- Bump the
parserOptions.ecmaVersionconfig from2018to2019.
Patch
- Updated dependencies.
- Adapted to the new
read-pkg-upAPI. - Removed redundant
pluginsconfig, as the recommended configs already handle that. - Ensure
.jsfiles (when not in a Next.js project) are parsed with ascriptsource type, aseslint-plugin-importwas always setting it tomodule. - Disable the
import/no-unresolvedrule, in favor ofnode/no-missing-importandnode/no-missing-require. - Support
.mjsfiles and theimport/namedrule (see benmosher/eslint-plugin-import#1359).