esl icon indicating copy to clipboard operation
esl copied to clipboard

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

Open ala-n opened this issue 1 year ago • 1 comments

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 avatar Oct 26 '23 00:10 ala-n

Partially closed by https://github.com/exadel-inc/esl/pull/2429

ala-n avatar Jun 17 '24 11:06 ala-n