Commit Graph

96 Commits

Author SHA1 Message Date
Jeshurun Hembd f8e9392f1b Update markdownlint-cli, make links conform to descriptive-link-text rule 2025-05-31 10:28:16 -04:00
Jeshurun Hembd 88bfd95479
Merge pull request #12490 from CesiumGS/glsl-branching-guide
Update coding guide with some basics on branching in shader code
2025-03-17 16:32:57 +00:00
jerome.fayot 62e0b4945e fix: changed DefaultValues namespace to Frozen 2025-03-11 22:59:03 +01:00
jerome.fayot 5fdf74bb5c fix: updated following review 2025-03-11 22:58:07 +01:00
jerome.fayot 402fe6b579 fix: replaced defaultValue with ?? 2025-03-11 22:58:00 +01:00
Gabby Getz 8c4067fb50
Merge branch 'main' into glsl-branching-guide 2025-03-10 12:28:36 -04:00
jjspace c7c0984914
extend recommended deprecation window, remove unused deprecationWarning 2025-02-28 14:34:37 -05:00
ggetz de512e9d34 Update coding guide with some basics on branching in shader code 2025-02-20 11:08:44 -05:00
jjspace 13e9901795
adjust docs 2024-10-04 16:20:02 -04:00
jjspace f803125277
add some documentation 2024-09-24 16:55:01 -04:00
Josh 45e214e678 various doc updates 2023-12-05 13:20:58 -05:00
angrycat9000 c36c5f0ee1 Add example of coding style for abbreviations 2023-08-23 13:37:39 -04:00
Gabby Getz 7978ff3959
Update Coding Guide with note about deprecations
Add a note to the coding guide stating deprecated APIs should be mentioned in CHANGES.md upon their removal
2023-02-01 09:29:47 -05:00
Sanjeet Suhag 4a7a9b653b Feedback pass 2022-12-15 18:11:07 -05:00
Sanjeet Suhag 9cd404af46 WebGL 1 spec fixes 2022-11-16 10:22:55 -05:00
Sanjeet Suhag ef173be86c Updates CodingGuide with performance considerations for modern language features 2022-07-14 11:51:25 -04:00
Sanjeet Suhag 26810fe454 Fix link in CodingGuide 2022-07-07 13:34:48 -04:00
Sanjeet Suhag b4ce7504e8 Updates documentation 2022-06-27 14:11:48 -04:00
Sanjeet Suhag 79562ba016 Merge branch 'main' of https://github.com/CesiumGS/cesium into markdown-lint 2022-06-03 11:05:09 -04:00
Peter Gagliardi bea7955425 Update coding guide to mention CesiumJS 2022-06-01 09:24:24 -04:00
Sanjeet Suhag 39164357e0 Adds markdownlint 2022-05-31 09:50:32 -04:00
Gabby Getz 2eda8540f0 Add build-third-party task 2022-05-04 16:13:18 -04:00
Gabby Getz c13eecf6bc Update documentation 2022-05-04 14:06:29 -04:00
Peter Gagliardi 12aedb3ac9 Update Coding Guide 2022-02-02 15:39:53 -05:00
Gabby Getz 7711d2c50d Update coding guide 2022-01-21 11:22:49 -05:00
Sean Lilley fe8fec2d51 master -> main 2021-07-16 19:01:30 -04:00
Hannah c88d0705e1
fix typo in coding guide 2021-03-29 10:35:52 -04:00
Sanjeet Suhag 82e7128831 Updates links to "Precisions, Precisions" blog post 2020-09-19 22:43:28 -04:00
Frederic Junod 241a27edf8 Update prettier to version ^2.1.1 2020-08-28 10:15:42 +02:00
Frederic Junod 4323909b21 Remove sortRequires from package.json and doc 2020-04-24 15:34:11 +02:00
Matthew Amato 2fd0e8f7e4 Format all code with prettier 2020-04-16 20:31:36 -04:00
Matthew Amato d77b34870d Use eslint-disable-next-line instead of eslint-disable-line
`eslint-disable-line` is not recommend by prettier because it puts
trailing comments on a new line. Use `eslint-disable-next-line` instead.

This is needed ahead of formatting so that eslint passes without code
changes right after the formatter is run.
2020-04-16 09:46:25 -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
Omar Shehata 82704a1894 http -> https 2020-04-08 16:41:17 -04:00
Omar Shehata 85900ffc3a Update all forum links to community.cesium.com 2020-04-08 14:39:17 -04:00
Frederic Junod c9d0f99a0c Replace freezeObject with native Object.freeze 2020-02-27 10:02:21 +01:00
Frederic Junod 2fc0f7d435 Replace defineProperties with native Object.defineProperties 2020-02-26 09:06:41 +01:00
Matthew Amato 06a7763933 AnalyticalGraphicsInc -> CesiumGS
1. Update relevant AnalyticalGraphicsInc organization links to CesiumGS.

2. Remove Webstorm guide since it's unmaintained and reference an
unmaintained plugin

3. Update outdated email address in CODE_OF_CONDUCT.
2020-02-18 13:19:12 -05:00
Ian Lilley 1939cc2f00 more style tweaks to Picking 2019-09-23 19:10:39 -04:00
Xu 385e6ed11f adding corresponding changes to CHANGES.md, added myself as a contributor, and fixed wording on the update to Coding Guide 2018-05-21 14:44:53 -04:00
Xu c7f28d8aa3 indented my last commit content 2018-05-21 14:19:45 -04:00
Xu 25a5c94fd4 added bullet about using locals rather than reading/writing a lot 2018-05-21 14:02:52 -04:00
Patrick Cozzi 2d02f6d690 More Cesium -> CesiumJS 2018-02-27 16:53:45 -05:00
hpinkos e45aac864d return param coding guide 2018-02-22 14:00:28 -05:00
ggetz 94a4ea81c6 Update CHANGES.md and Coding Guide 2017-11-29 17:25:27 -05:00
Patrick Cozzi baa0890720 Merge pull request #5570 from omh1280/eslint_docs
Add list of ESLint rules to CodingGuide
2017-09-15 17:26:36 -04:00
Ottavio Hartman 2ca714854a Slight docs reformat to make default rules clear 2017-07-05 13:43:59 -04:00
Ottavio Hartman 927e3dd2ca Reformat docs 2017-06-29 11:01:21 -04:00
Ottavio Hartman af9184e3a5 Add list of ESLint rules 2017-06-29 10:57:51 -04:00
Ottavio Hartman 337ad9d7eb Remove global define and global defineSuite 2017-06-28 17:10:51 -04:00