eslint component ignores --projenrc-ts flag
See original GitHub issueMy projen-generated CDK app eslint task was misbehaving due to a known incompatibility between eslint@8 and the typescript plugin.
While fixing that, I noticed the following, minimal example below:
% npx projen new typescript --projenrc-ts
# Typescript ^
...
% npx projen eslint ~/tmp/foo main (v)
🤖 eslint | env: PATH=/Users/.../tmp/f...
🤖 eslint | eslint --ext .ts,.tsx --fix --no-error-on-unmatched-pattern src test build-tools .projenrc.js
# That's not right ^
The eslint component does not currently consider non-default projenrc types, it’s either the default .js
or nothing:
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Ignoring Code - ESLint - Pluggable JavaScript Linter
A pluggable and configurable linter tool for identifying and reporting on patterns in JavaScript. Maintain your code quality with ease.
Read more >Poor performance on some projects · Issue #389 - GitHub
We are trying to use typescript-eslint on a pretty large project with 1000+ files. The CLI is very slow (see stats below), which...
Read more >My create-react-app is failing to compile due to ESLint error
This flag is ignored during production and when they are any git hooks running, which will in turn cause an error when you...
Read more >Ignoring ESLint - next.config.js
When ESLint is detected in your project, Next.js fails your production build ( next build ) when errors are present. If you'd like...
Read more >Common React TypeScript ESLint / Lint Errors & Warning ...
Another option is to adjust the .eslintrc rules as well as ignore files and folders with .eslintignore. You can also run the command...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I can no longer reproduce this issue with recent versions of projen. Thanks everyone!
Agreed, this should be working now. I fixed some related issues in #1926