From 22facf0f2fc8ef348be05497601b7c2ab0dc52ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20Mo=C4=8Dko=C5=99?= Date: Sat, 16 Mar 2019 13:13:15 +0100 Subject: [PATCH] Feat/contributing guidelines docs (#97) * add Contributing guidelines docs * add Guides section to Hello page --- CONTRIBUTING.md | 139 ++++++++++++++++++ packages/styleguide/src/index.js | 10 +- .../src/pages/ContributingGuidelines.mdx | 139 ++++++++++++++++++ packages/styleguide/src/pages/Hello.mdx | 8 +- 4 files changed, 293 insertions(+), 3 deletions(-) create mode 100644 CONTRIBUTING.md create mode 100644 packages/styleguide/src/pages/ContributingGuidelines.mdx diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 00000000000..3f118acb260 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,139 @@ +# Contribution guidelines + +These guidelines outline our conventions and should help you produce code that looks and feels consistent with other contributors. + +## Basics + +Write valid, semantic and accessible code. + +* **Valid:** Rely on official specification. You can safely ignore for example IE errors on self closing `` tags. Consider using a browser extension that validates your code (e.g. http://www.validity.org.uk/) +* **Semantic:** Where appropriate, take advantage of HTML5 semantic elements like `
,