🐈
Webstrom2023.2.1 tsconfig.jsonのpathがエディタのeslintに反映されない
解決策:手動で再設定する
Webstorm > Settings > Languages & Frameworks > JavaScript > Code Quality Tools > ESLint
一旦Disable ESLintにしてApplyし、もう一度Automatic ESLint configurationに戻して再度Apply
現象
tsconfig.json
{
"compilerOptions": {
"paths": {
"@components/*": ["components/*"],
},
}
ESLint: Unable to resolve path to module '@components/Sample'.(import/no-unresolved)
Discussion