-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Docs: Potentially confusing flow for enabling typed linting #6982
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
No you're definitely the right audience 😄 and this is very good docs feedback, thank you for raising it!
ESLint was configured to run on your Aside: normally for these kinds of questions I'd request posting in our Discord. But this one smells of a gap and/or flaw in the docs - hence the visibility here. |
This is fixed in v6 because in v6 the guide tells you to use the new disable type check config on js files IIRC |
cc @zacharysyoung - is there anything more you'd want here now that v6 is out? |
Closing as aged away. Thanks everyone! |
Uh oh!
There was an error while loading. Please reload this page.
Before You File a Documentation Request Please Confirm You Have Done The Following...
Suggested Changes
Related to #6826 and its PR #6919, I'm still getting the error, and still don't know what approach to take.
I tried the suggested "popular setup..." and ended up with the following:
.eslintrc.cjs
tsconfig.json
package.json
Did I misunderstand something in the
// ... the rest of your config ...
part of the CJS file?You can see in the screenshot my .eslintr.cjs, and a foo.js in the out dir, are affected:
Maybe I'm not the right audience for this "Getting Started": I've had some success getting ESLint configured for some JavaScript development I've done (and will continue to do), and I just decide to take the plunge and try and port a small codebase to TypeScript and I wanted the comfort and security I've gotten with ESLint over in JS-Land, which lead me to this Getting Started.
Sincerely, and thank you.
Affected URL(s)
The text was updated successfully, but these errors were encountered: