eslint rule:frontend for specifying the path to the @types/

This commit is contained in:
arpitnath 2022-04-11 15:29:36 +05:30
parent 139ae89563
commit 27946f1d03

View file

@ -52,7 +52,15 @@
"react": {
"version": "detect"
},
"import/resolver": "webpack"
"import/resolver": {
"node": {
"extensions": [".js", ".ts"],
"paths": ["node_modules/", "node_modules/@types"]
},
"webpack": {
"config": "./webpack.config.js"
}
}
},
"globals": {
"fetch": true,