When compiling my ReactJs code I get the following error import/first error:
The solutions presented in similar questions don't seem to work for me.
The ../recharts/es6/index.js
file looks something like this:
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 };
My question, therefore, how does one disable the import/first rule for ESLint? Or might the error be due to something else entirely?