Closed lhkbob closed 3 years ago
One option, giving webstorm's capabilities is that I periodically run it's formatter. This would be reasonably consistent without requiring webstorm adoption. But it would only be necessary if jsbeautifier or prettier don't pan out.
fixed in #471
As the project grows, it's important that the various components maintain a consistent, readable style that everyone agrees on. Things are already pretty close to standard, but due to different editor behaviors, etc. it's not perfect. Below are policies that have implicitly come about and policies that we ought to decide on and/or enforce better:
Further discussions:
=>
instead of anonymous functions. Functionally I guess they aren't exactly the same. There is also theimport X from blah
versusconst X = require(blah)
to choose from.