brandongregoryscott / eslint-plugin-collation

ESLint plugin for making your code easier to read, with autofix and TypeScript support
https://eslint-plugin-collation.brandonscott.me
Apache License 2.0
4 stars 0 forks source link

feat: prefer-import rule #67

Closed brandongregoryscott closed 1 year ago

brandongregoryscott commented 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.

github-actions[bot] commented 1 year ago

:tada: This PR is included in version 1.2.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: