abricotine icon indicating copy to clipboard operation
abricotine copied to clipboard

[Dev] Linter config

Open darahak opened this issue 8 years ago • 1 comments

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.

darahak avatar Nov 01 '16 17:11 darahak

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.

brrd avatar Nov 02 '16 09:11 brrd