Closed brandongregoryscott closed 1 year ago
This PR implements a rule named prefer-import, which can auto-fix imports to a preferred module/path. Common use-cases for this are for tree-shaking/ESM support. This rule is similar to no-restricted-imports, but with auto-fix support.
prefer-import
no-restricted-imports
:tada: This PR is included in version 1.2.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
This PR implements a rule named
prefer-import
, which can auto-fix imports to a preferred module/path. Common use-cases for this are for tree-shaking/ESM support. This rule is similar tono-restricted-imports
, but with auto-fix support.