Answers for "eslint absolute imports error"

0

eslint absolute imports error

{
  "extends": ["react-app", "plugin:import/errors", "plugin:import/warnings"],
  "settings": {
    "import/resolver": {
      "node": {
        "moduleDirectory": ["node_modules", "src/"]
      }
    }
  }
}
Posted by: Guest on June-27-2021
0

absolute import eslint error

module.exports = {
  ...   
  "settings": {
    "import/resolver": {
      "node": {
        "paths": ["src"]
      }
    },
  },
}
Posted by: Guest on June-27-2021

Code answers related to "TypeScript"

Browse Popular Code Answers by Language