PradyumnaKrishna / enigma-protocol

An end to end encrypted messenger using Flask, SocketIO, and Vue.js
https://protocol.onpy.in
MIT License
19 stars 34 forks source link

Add ESLint #88

Closed tara-matthew closed 6 months ago

tara-matthew commented 6 months ago
PradyumnaKrishna commented 6 months ago

If possible, can you please also add an option to format the files?

tara-matthew commented 6 months ago

Thank you for taking a look! 🥳
The --fix option in the lint script will reformat the files for you, if that's what you mean?

https://eslint.org/docs/latest/use/command-line-interface

PradyumnaKrishna commented 6 months ago

Lets make it two commands, one that formats the code and one that lints the code only.

tara-matthew commented 6 months ago

Sure thing, good idea! I'm away from my computer this evening, but will get this updated for you either later today or tomorrow 👌

tara-matthew commented 6 months ago

@PradyumnaKrishna Updated 👌