honeynet / ochi

https://ochi.mushmush.org
GNU General Public License v3.0
25 stars 15 forks source link

Added prettier config file #30

Closed aditygrg2 closed 1 year ago

aditygrg2 commented 1 year ago

Updated with the prettier config file, allowing prettier to format the code.

Fixed the line width to 100, I think it is enough and okay for wrapping.

This is related to the issue #27

Shanky0 commented 1 year ago

hello @aditygrg2, Please add prettier ignore file too otherwise it will work for node_modules too. and i think a cli command can also be included in script to run without extension. What do you think @glaslos sir ?

aditygrg2 commented 1 year ago

Thank you so much for the tips @Shanky0. I will update my PR accordingly