Also, eslint-disable is not a rule. I think you are confusing the inline comment for disabling rules with the rules itself.
On Sun, Jan 24, 2021 at 12:55 AM Peter deHaan <[email protected]> wrote: > if all your compiled .js files are in a subdirectory, you could just add > that output directory to your .eslintignore file. > Or looks like there is an `ignorePatterns` property: > https://eslint.org/docs/user-guide/configuring#ignoring-files-and-directories > > On Sun, Jan 24, 2021 at 12:30 AM Flleeppyy <[email protected]> > wrote: > >> Forgot to mention, eslint-disable does not work in overrides for whatever >> reason. >> On Sunday, January 24, 2021 at 12:29:10 AM UTC-8 Flleeppyy wrote: >> >>> >>> I have a type script project, and I would like to disable eslint for .js >>> files, since .js files are compiled typescript. >>> >>> How do I go about doing this? >>> I've tried adding `eslint-disable` to overrides in the eslintrc file >>> like the following, as if doing it at the top of the file like /* >>> eslint-disable */ but I cannot do that everytime typescript compiles, it >>> would be tiring. I could make a script that does that for me, but that >>> seems like a waste of time. >>> >>> [image: Screenshot_20210124_002618.png] >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "ESLint" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/eslint/758a9f18-fc8c-4c8d-8ff2-b56b57454cd5n%40googlegroups.com >> <https://groups.google.com/d/msgid/eslint/758a9f18-fc8c-4c8d-8ff2-b56b57454cd5n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- > You received this message because you are subscribed to the Google Groups > "ESLint" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/eslint/CAPUHwnOd4w%2BD30%2BFR5DGWb_yrJyX0A4HYvYx9MSWccqzhVdhhA%40mail.gmail.com > <https://groups.google.com/d/msgid/eslint/CAPUHwnOd4w%2BD30%2BFR5DGWb_yrJyX0A4HYvYx9MSWccqzhVdhhA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- ______________________________ Nicholas C. Zakas (@slicknet <https://twitter.com/slicknet>) Owner, Human Who Codes LLC humanwhocodes.com -- You received this message because you are subscribed to the Google Groups "ESLint" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/eslint/CAOkd9hmnpzX09Z%3DokPSE2KmDRtGEntwK2jnkE35YAguLV%3DuNZQ%40mail.gmail.com.
