- A single style for our projects and others
- Minimize customization - Any decided-upon style is better than one we can bikeshed
- Minimize friction - Instead of warnings, sources are formatted automatically on commit and on save inside your editor
- Minimize files - These three or four files need only be at the top level of the monorepo... nothign in the subdirs
- Prettier, no semicolons - Because you don't need them and they add unnecessary visual clutter. Prettier will figure out when they're needed for you.
- Prettier, single quotes - Reduces visual clutter - (Note: Still double quotes for element attributes in JSX/TSX)
- Prettier, 80 chars (the default) - Because you can put more code up side-by-side. It'll be OK. I promise.
- tslint
"no-submodule-imports": false
- Sometimes you need this in monorepos, especially for testing. - tslint
"object-literal-sort-keys": false
- Because sometimes alphanumeric isn't the best way to sort big literals or deconstructions.