When compiling the typescript files on Linux, eslint etc are trying to find these configuration files relative to /src/dashboard. I am not sure why this is the case, but by using __dirname we ensure that the configuration files are searched for in the correct location
When compiling the typescript files on Linux, eslint etc are trying to find these configuration files relative to
/src/dashboard
. I am not sure why this is the case, but by using__dirname
we ensure that the configuration files are searched for in the correct location