编译我的ReactJs代码时,我收到以下错误导入/第一个错误:
similar questions中提出的解决方案似乎并不适用于我。
../recharts/es6/index.js
文件看起来像这样:
import _Brush from './cartesian/Brush';
export { _Brush as Brush };
import _ReferenceLine from './cartesian/ReferenceLine';
export { _ReferenceLine as ReferenceLine };
import _ReferenceDot from './cartesian/ReferenceDot';
export { _ReferenceDot as ReferenceDot };
import _ReferenceArea from './cartesian/ReferenceArea';
export { _ReferenceArea as ReferenceArea };
因此,我的问题是如何禁用ESLint的导入/优先规则? 或者错误可能完全是由于其他原因造成的?