Closed
Description
Before You File a Bug Report Please Confirm You Have Done The Following...
- I have tried restarting my IDE and the issue persists.
- I have updated to the latest version of the packages.
- I have searched for related issues and found none that matched my issue.
- I have read the FAQ and my problem is not listed.
Relevant Package
utils
Playground Link
No response
Repro Code
packages/types/package.json: line 13
"files": [ // <=== lost "_ts3.4"
"dist",
"package.json",
"README.md",
"LICENSE"
],
"typesVersions": {
"<3.8": {
"*": [
"_ts3.4/*"
]
}
},
### ESLint Config
```javascript
module.exports = {
parser: "@typescript-eslint/parser",
rules: {
"@typescript-eslint/<rule-name>": ["error", ...<options>],
},
};
tsconfig
Expected Result
could find "@typescript-eslint/types" when typescript version lower than 3.8
Actual Result
cannot find "@typescript-eslint/types" when typescript version lower than 3.8
Additional Info
No response
Versions
package | version |
---|---|
@typescript-eslint/eslint-plugin |
X.Y.Z |
@typescript-eslint/parser |
X.Y.Z |
@typescript-eslint/scope-manager |
X.Y.Z |
@typescript-eslint/typescript-estree |
X.Y.Z |
@typescript-eslint/type-utils |
X.Y.Z |
@typescript-eslint/utils |
5.30.5 |
TypeScript |
3.7 |
ESLint |
X.Y.Z |
node |
X.Y.Z |