esl
esl copied to clipboard
[🚀eslint]: add base rule to deprecate import paths
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
Partially closed by https://github.com/exadel-inc/esl/pull/2429