Tuesday, 31 March 2020

Webpack Aliases with Webpack Merge and Eslint Import Webpack Resolver

Hello everyoneMy eslint doesn't recognize my local modules (webpack aliases). Normally this should be done with the eslint-import-resolver-webpack package but I'm pretty sure it doesn't work because of the way my webpack is build. I'm using webpack merge.. The eslint-webpack-resolver plugin looks for a webpack config file, I feel like it can't read the aliases..Mind you, everything works my project can build. It is just eslint not recognizing my modules.Does anyone have a solution for that?here are the complete files:- https://hastebin.emielvanseveren.be/turanetifo.js (webpack.config.js)- https://hastebin.emielvanseveren.be/icocogibom.js (webpack.parts.js)- https://hastebin.emielvanseveren.be/fonemazado.js (.eslintrc.js)​example of the error.eslintrc.jsWebpack aliases (webpack.parts.js)

Submitted April 01, 2020 at 12:36AM by emielvanseveren

No comments:

Post a Comment