Skip to content

Commit 783d376

Browse files
Run prettier 2 over the repo
1 parent 2d66d30 commit 783d376

File tree

5 files changed

+6
-13
lines changed

5 files changed

+6
-13
lines changed

.prettierrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
{
2+
"arrowParens": "avoid",
3+
"trailingComma": "none"
24
}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5737,7 +5737,7 @@ stop(event);
57375737
###### Questions
57385738
57395739
- How to stop the propagation of an event?
5740-
<!-- DOCS:END -->
5740+
<!-- DOCS:END -->
57415741
57425742
## Contributors ✨
57435743

document.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,7 @@ const getSignature = async signaturePath => {
109109
const endTag = "\n\n";
110110
const endIndex = fileContent.indexOf(endTag, startIndex);
111111

112-
return fileContent
113-
.slice(startIndex, endIndex)
114-
.trim()
115-
.slice(0, -1);
112+
return fileContent.slice(startIndex, endIndex).trim().slice(0, -1);
116113
};
117114

118115
const main = async cwd => {

encoding/base64url/fromBase64.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,2 @@
11
export default base64 =>
2-
base64
3-
.replace(/\+/g, "-")
4-
.replace(/\//g, "_")
5-
.replace(/=/g, "");
2+
base64.replace(/\+/g, "-").replace(/\//g, "_").replace(/=/g, "");

encoding/base64url/fromBase64.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,2 @@
11
export default (base64: string) =>
2-
base64
3-
.replace(/\+/g, "-")
4-
.replace(/\//g, "_")
5-
.replace(/=/g, "");
2+
base64.replace(/\+/g, "-").replace(/\//g, "_").replace(/=/g, "");

0 commit comments

Comments
 (0)