Open NavneetVaid opened 4 weeks ago
5.4.3
NA
Try importing echarts like import * as echarts from echarts and it will fail linting with eslint 9+ saying Rule: "import/no-deprecated" failed.
It works with const echarts = require('echarts/lib/echarts');
It is failing with import
It should pass linting with both imports
- OS:macOS Sonoma - Browser: Chrome - Framework: Angular 18
No response
@NavneetVaid Please provide a demo for the issue either with Official Editor, CodePen, CodeSandbox or JSFiddle.
Version
5.4.3
Link to Minimal Reproduction
NA
Steps to Reproduce
Try importing echarts like import * as echarts from echarts and it will fail linting with eslint 9+ saying Rule: "import/no-deprecated" failed.
It works with const echarts = require('echarts/lib/echarts');
Current Behavior
It is failing with import
Expected Behavior
It should pass linting with both imports
Environment
Any additional comments?
No response