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

[🚀eslint]: add base rule to deprecate import paths #2015

Open
ala-n opened this issue Oct 26, 2023 · 1 comment
Open

[🚀eslint]: add base rule to deprecate import paths #2015

ala-n opened this issue Oct 26, 2023 · 1 comment
Assignees
Labels
feature New feature

Comments

@ala-n
Copy link
Collaborator

ala-n commented Oct 26, 2023

As an ESL architect, I want to be able to show deprecated alternative paths for some of ESL module entities

E.g. :

import {attr, boolAttr, jsonAttr} `@exadel/esl/module/esl-base-element/core`; // Deprecated
import {attr, boolAttr, jsonAttr} `@exadel/esl/module/esl-mixin-element/core`; // Deprecated
import {attr, boolAttr, jsonAttr} `@exadel/esl/module/esl-utils/decorators`; // Expected full actual path

// Note in current example the paths are not deprecated, but deprecated retrieving some objects from them: 
import {ESLBaseElemnt} `@exadel/esl/module/esl-base-element/core`; // Actual and not deprecated
@ala-n
Copy link
Collaborator Author

ala-n commented Jun 17, 2024

Partially closed by #2429

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

No branches or pull requests

2 participants