Parsing error: "parserOptions.project" has been set for @typescript-eslint/parser.
The file does not match your project config: xxx/src/components/Authorized/Authorized.jsx.
The file must be included in at least one of the projects provided.eslint
这个问题产生的原因是:
有两个相同的文件,在一个目录下,ts 解析会有问题,我这边的目录结构是:
这个问题没写完,后续忘记问题细节了