CivPlatform / map-sync

Mod to sync map data with others instantly and privately, and update tiles for Leaflet/CivMap
GNU General Public License v3.0
28 stars 10 forks source link

Formatting #63

Closed Gjum closed 1 year ago

Protonull commented 1 year ago

Imagine actually wanting no semicolons, 2-wide spacing tabs, and single-quote strings... mfw I now have to do console.log('couldn\'t parse packet', pkt) :nauseated_face:

Gjum commented 1 year ago

Do not worry, prettier allows you to use double quoted strings if you must use a single quote in it; though it is often preferable anyway to use the non-contracted version ("could not").

Huskydog9988 commented 1 year ago

Also, why are we doing console.log, don't we have a logger somewhere??