Closed KiritoStorm closed 2 years ago
I realized the problem was that I forgot to copy the config files.
All good ? :)
Yes, all good. :) I was just a bit confused how I should use MegaLinter in combination with the mentioned linters.
It would be cool to have a bit more options in TypeScript, everything is JavaScript based:
Here is an example what you can do with TypeScript ESLint (.eslintrc.js), that has worked for me.
Typescript Eslint is already supported by MegaLinter :)
https://oxsecurity.github.io/megalinter/latest/descriptors/typescript_eslint/
Okay, it's a bit confusing because it looks exactly the same like the JavaScript ESLint side, but it's a different project site.
So it would be helpful in my opinion to adjust the documentation. :)
This is the same eslint than for javascript, with typescript targetted eslint plugins :)
Alright so it's pretty similar to the TypeScript ESLint project, sorry I'm a bit confused. š
It is not similar, it is the same: https://typescript-eslint.io/ is the project for eslint plugins made just for typescript ^^
If you check the installation instructions, it starts with eslint :)
Alright, thank you :)
Describe the bug Can't use any other linter for TypeScript then standard.
To Reproduce Here is my startup command from a batch script:
Expected behavior With this command I would expect that I can run the TYPESCRIPT_ES linter, but instead it runs standard. When I remove the enable/language options, it doesn't lint Typescript at all, same thing happens with TYPESCRIPT_PRETTIER.
Screenshots If applicable, add screenshots to help explain your problem.
Additional context I like standard, but the problem with standard is you can't adjust the rules, that's the whole sense about it. There are 2 things that my team want's differently:
So the idea was to use ESLint with modified standard rules.
Other ideas:
Any ideas what would make the most sense in combination with MegaLinter?