eslint-plugin-require-path-exists
eslint-plugin-require-path-exists copied to clipboard
wrong linting for aliases
the rule require-path-exists/exists
reports a non-existing module, but it exists and could be read via VS and compiled normally via webpack and ttypescript.
the module is an alias of a real path (paths are defined in tsconfig.json)
tsconfig.json
{
compilerOptions:{
paths:{
"@alias/*": "./real/path/*"
}
}
}
index.ts
import something from "@alias/anything"
the path real/path/snything.ts
exists
edit
modifying the path into ./real/path/snything
didn't fix the error