Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add paths/alias rule, to fix path aliases automatically #82

Open
vitonsky opened this issue Apr 19, 2024 · 0 comments
Open

Add paths/alias rule, to fix path aliases automatically #82

vitonsky opened this issue Apr 19, 2024 · 0 comments

Comments

@vitonsky
Copy link

Hi, what about add a rule paths/alias in eslint-plugin-paths plugin?

It analyzes tsconfig.json and reports a relative paths in imports that must be replaced to a path aliases like @foo/x/y.

This rule supports an auto fix, and option for excluded paths in development, so in next versions user may just add deprecated paths or alias names in rule options and aliases will be reverted to relative paths back. This plugin automate control over aliases management

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant