summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorPeter Johanson <peter@peterjohanson.com>2021-06-09 14:55:33 +0000
committerPete Johanson <peter@peterjohanson.com>2021-06-09 10:58:53 -0400
commitba45aaa81bd5c4d768e315ff57520738b6b59777 (patch)
tree7604292d1ed8787cc764b579c1688ed6735e9c95 /docs
parent22800455e21b31fdf79ab7568627e7ae9c2837ec (diff)
chore(docs): Bump prettier, and reformat w/ it.
* Bump to prettier 2.3.1. * Re-run prettier:format to apply updated format.
Diffstat (limited to 'docs')
-rw-r--r--docs/docs/intro.md1
-rw-r--r--docs/package-lock.json15
-rw-r--r--docs/package.json2
-rw-r--r--docs/src/components/codes/Description.jsx3
-rw-r--r--docs/src/pages/power-profiler.js6
5 files changed, 13 insertions, 14 deletions
diff --git a/docs/docs/intro.md b/docs/docs/intro.md
index 8088736..7e8e1e6 100644
--- a/docs/docs/intro.md
+++ b/docs/docs/intro.md
@@ -14,7 +14,6 @@ ZMK is currently missing some features found in other popular firmware. This tab
| Legend: | ✅ Supported | 🚧 Under Development | 💡 Planned |
| :------ | :----------- | :------------------- | :--------- |
-
| **Feature** | ZMK | BlueMicro | QMK |
| ------------------------------------------------------------------------------------------------------------------------- | :-: | :-------: | :-: |
| Low Latency BLE Support | ✅ | ✅ | |
diff --git a/docs/package-lock.json b/docs/package-lock.json
index e0d5fbd..b36bf88 100644
--- a/docs/package-lock.json
+++ b/docs/package-lock.json
@@ -26,7 +26,7 @@
"eslint-plugin-mdx": "^1.13.0",
"eslint-plugin-react": "^7.23.2",
"null-loader": "^4.0.0",
- "prettier": "2.1.2",
+ "prettier": "2.3.1",
"string-replace-loader": "^3.0.0"
}
},
@@ -11084,9 +11084,9 @@
}
},
"node_modules/prettier": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.1.2.tgz",
- "integrity": "sha512-16c7K+x4qVlJg9rEbXl7HEGmQyZlG4R9AgP+oHKRMsMsuk8s+ATStlf1NpDqyBI1HpVyfjLOeMhH2LvuNvV5Vg==",
+ "version": "2.3.1",
+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.3.1.tgz",
+ "integrity": "sha512-p+vNbgpLjif/+D+DwAZAbndtRrR0md0MwfmOVN9N+2RgyACMT+7tfaRnT+WDPkqnuVwleyuBIG2XBxKDme3hPA==",
"dev": true,
"bin": {
"prettier": "bin-prettier.js"
@@ -24415,9 +24415,9 @@
"integrity": "sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc="
},
"prettier": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.1.2.tgz",
- "integrity": "sha512-16c7K+x4qVlJg9rEbXl7HEGmQyZlG4R9AgP+oHKRMsMsuk8s+ATStlf1NpDqyBI1HpVyfjLOeMhH2LvuNvV5Vg==",
+ "version": "2.3.1",
+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.3.1.tgz",
+ "integrity": "sha512-p+vNbgpLjif/+D+DwAZAbndtRrR0md0MwfmOVN9N+2RgyACMT+7tfaRnT+WDPkqnuVwleyuBIG2XBxKDme3hPA==",
"dev": true
},
"pretty-error": {
@@ -25502,6 +25502,7 @@
"chalk": "^4.1.0",
"find-up": "^5.0.0",
"mkdirp": "^1.0.4",
+ "postcss": "^8.2.4",
"strip-json-comments": "^3.1.1"
},
"dependencies": {
diff --git a/docs/package.json b/docs/package.json
index bd97965..09a8e9f 100644
--- a/docs/package.json
+++ b/docs/package.json
@@ -45,7 +45,7 @@
"eslint-plugin-mdx": "^1.13.0",
"eslint-plugin-react": "^7.23.2",
"null-loader": "^4.0.0",
- "prettier": "2.1.2",
+ "prettier": "2.3.1",
"string-replace-loader": "^3.0.0"
}
}
diff --git a/docs/src/components/codes/Description.jsx b/docs/src/components/codes/Description.jsx
index 6d8c5f6..7ad5fc2 100644
--- a/docs/src/components/codes/Description.jsx
+++ b/docs/src/components/codes/Description.jsx
@@ -7,7 +7,8 @@
import React from "react";
import PropTypes from "prop-types";
-const specialCharactersRegex = /(?:^|\s)((?:&(?:(?:\w+)|(?:#\d+));)|[_]|[^\w\s])(?:\s*\[([^[\]]+?)\])/g;
+const specialCharactersRegex =
+ /(?:^|\s)((?:&(?:(?:\w+)|(?:#\d+));)|[_]|[^\w\s])(?:\s*\[([^[\]]+?)\])/g;
function renderSpecialCharacters(description) {
const matches = Array.from(description.matchAll(specialCharactersRegex));
diff --git a/docs/src/pages/power-profiler.js b/docs/src/pages/power-profiler.js
index ca46f5c..fc803c5 100644
--- a/docs/src/pages/power-profiler.js
+++ b/docs/src/pages/power-profiler.js
@@ -30,10 +30,8 @@ function PowerProfiler() {
const { value: psuType, bind: bindPsuType } = useInput("");
const { value: outputV, bind: bindOutputV } = useInput(3.3);
const { value: quiescentMicroA, bind: bindQuiescentMicroA } = useInput(55);
- const {
- value: otherQuiescentMicroA,
- bind: bindOtherQuiescentMicroA,
- } = useInput(0);
+ const { value: otherQuiescentMicroA, bind: bindOtherQuiescentMicroA } =
+ useInput(0);
const { value: efficiency, bind: bindEfficiency } = useInput(0.9);
const { value: bondedQty, bind: bindBondedQty } = useInput(1);