abricotine
abricotine copied to clipboard
[Dev] Linter config
Would you mind setting up a more advanced configuration for the linter?
The current .jshintrc doesn't do much.
It's not really a problem now, but could become one if you get more contributors. I already see some inconsistencies within the same file; it's not critical, but it can be distracting.
I think it's best if we can just let a linter do the job for us and focus on the code.
If you don't want to put too much effort on that, I would recommend switching to ESLint, picking a preset, and tweaking it a little bit for the project.
I can try making a config that fits the current style in Abricotine's code if you agree.
The current .jshintrc is actually very small because I personally don't like when the linter is too restrictive, but you are right. If you want to do this then go ahead, this would be helpful for sure.