Commit Graph

6 Commits

Author SHA1 Message Date
Ed Mackey ffd998939b Set GLSL to 4 spaces, move redundant settings out of VSCode files. 2020-04-27 10:01:19 -04:00
Matthew Amato 782b6065f0 Put MD trailing whitespace back in .editorconfig
Trailing whitespace is significant but many editors don't respect this.

https://github.com/CesiumGS/cesium/pull/8744#pullrequestreview-395942946
2020-04-20 09:43:50 -04:00
Matthew Amato 1b16c31941 Add configuration for prettier code formatting
1. Add prettier and configuration files, but do not format code yet.
2. Configure it for all html|css|js|md code.
3. Fix a bug it found in `CZML Custom Properties.html`
4. Add a pre-commit hook via husky and pretty-quick which will
automatically format changed files when they are staged on the client.
5. Run `prettier-check` during CI and fail the build of code is not
formatted properly.
6. Install eslint config for prettier. This does not enable prettier
checking in eslint (it's unusably slow) but instead just makes sure that
no eslint rules conflict with prettier formatting.
7. Update .editorconfig to match (since prettier respects it)
8. Tweak Sandcastle to handle prettier formated examples
2020-04-13 17:19:59 -04:00
hates aece756e07 editorconfig tweak 2017-05-29 22:49:35 +03:00
Kevin Ring c75a981c47 Remove unnecessary scss rule. 2017-01-06 09:27:38 +11:00
Kevin Ring 6f76df36dc Add .editorconfig. 2017-01-06 09:24:56 +11:00