diff --git a/.editorconfig b/.editorconfig index be3654ef59..8412c1193b 100644 --- a/.editorconfig +++ b/.editorconfig @@ -8,4 +8,4 @@ trim_trailing_whitespace = true [*.{js,py}] charset = utf-8 indent_style = space -indent_size = 4 +indent_size = 2 diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000000..c8b8428000 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,3 @@ +github: [yangshun] +open_collective: yangshun +custom: https://www.buymeacoffee.com/yangshun diff --git a/.gitignore b/.gitignore index 94f1119ef0..f757af5f03 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,53 @@ +# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. + +# dependencies +node_modules +.pnp +.pnp.js +.yarn + +# testing +coverage + +# parcel-bundler cache (https://parceljs.org/) +.cache + +# next.js +.next/ +out/ +build + +# misc .DS_Store -.vscode +*.pem +tmp + +# debug +npm-debug.log* +yarn-debug.log* +yarn-error.log* +.pnpm-debug.log* + +# local env files +.env.local +.env.development.local +.env.test.local +.env.production.local + +# turbo +.turbo + +# build +dist + +# i18n +crowdin.yml + +# angular +.angular + +# env +.env + +# langnostic +.langnostic diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000000..1fcfb4fe86 --- /dev/null +++ b/.prettierrc @@ -0,0 +1,7 @@ +{ + "bracketSameLine": true, + "printWidth": 80, + "proseWrap": "never", + "singleQuote": true, + "trailingComma": "all" +} diff --git a/.topics_WIP_PLEASE_IGNORE/accessibility.md b/.wip/topics/accessibility.md similarity index 97% rename from .topics_WIP_PLEASE_IGNORE/accessibility.md rename to .wip/topics/accessibility.md index e6f61451b4..92afaa4fac 100644 --- a/.topics_WIP_PLEASE_IGNORE/accessibility.md +++ b/.wip/topics/accessibility.md @@ -1,5 +1,4 @@ -Accessibility -== +# Accessibility ## Glossary @@ -77,17 +76,20 @@ The following is a checklist that contains recommendations for implementing HTML - `aria-role` attributes tell assistive technologies that the element should follow that role's accessibility patterns. There are well-defined roles in the HTML spec. Do not define them on your own. - `tabindex="0"` is usually added to it elements that have `role` added so that it can be focused. - Assistive labelling + - `aria-label` is useful for labelling buttons where the content is empty or contains only icons. - `aria-labelledby` is similar to `