eslint absolute imports error

Solutions on MaxInterview for eslint absolute imports error by the best coders in the world

showing results for - "eslint absolute imports error"
Giorgio
09 Nov 2020
1{
2  "extends": ["react-app", "plugin:import/errors", "plugin:import/warnings"],
3  "settings": {
4    "import/resolver": {
5      "node": {
6        "moduleDirectory": ["node_modules", "src/"]
7      }
8    }
9  }
10}
11
Valentina
22 Jul 2019
1module.exports = {
2  ...   
3  "settings": {
4    "import/resolver": {
5      "node": {
6        "paths": ["src"]
7      }
8    },
9  },
10}
11