Closed as not planned
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.
Issue Description
I expected typescriptEslint.configs.recommendedTypeChecked
to work with eslint-plugin-yml.
But eslint parses yaml files as ts files and reports false positives:
/path/to/lint-yaml/config.yaml
2:12 error Parsing error: ';' expected
I can only use a workaround as in ota-meshi/eslint-plugin-yml#261. Is there a better way? Thanks.
Reproduction Repository Link
https://github.com/paul4156/lint-yaml
Repro Steps
- clone the repo
npm install
npm run lint
Versions
package | version |
---|---|
@typescript-eslint/eslint-plugin |
8.34.1 |
TypeScript |
5.8.3 |
ESLint |
9.29.0 |
node |
v22.15.1 |
eslint-plugin-yml |
1.18.0 |