Skip to content
Permalink
Browse files

Revert "docs: fix possible typo AFAIK (prettier#6341)"

This reverts commit 507cef2.
  • Loading branch information
fisker committed Aug 8, 2019
1 parent e449e13 commit 443d58ddd67c30aee44dbb8fa0d408f12545fe36
@@ -7,13 +7,13 @@ printWidth: 80
| printWidth
=====================================input======================================
function f() {
const appEntities = getAppEntities(loadObject).filter(
const appEntitys = getAppEntitys(loadObject).filter(
entity => entity && entity.isInstallAvailable() && !entity.isQueue() && entity.isDisabled()
)
}

function f() {
const appEntities = getAppEntities(loadObject).map(
const appEntitys = getAppEntitys(loadObject).map(
entity => entity && entity.isInstallAvailable() && !entity.isQueue() && entity.isDisabled() && {
id: entity.id
}
@@ -22,7 +22,7 @@ function f() {

=====================================output=====================================
function f() {
const appEntities = getAppEntities(loadObject).filter(
const appEntitys = getAppEntitys(loadObject).filter(
entity =>
entity &&
entity.isInstallAvailable() &&
@@ -32,7 +32,7 @@ function f() {
}

function f() {
const appEntities = getAppEntities(loadObject).map(
const appEntitys = getAppEntitys(loadObject).map(
entity =>
entity &&
entity.isInstallAvailable() &&
@@ -75,14 +75,14 @@ printWidth: 80
| printWidth
=====================================input======================================
a = (
// Comment 1
// Commment 1
(Math.random() * (yRange * (1 - minVerticalFraction)))
+ (minVerticalFraction * yRange)
) - offset;

=====================================output=====================================
a =
// Comment 1
// Commment 1
Math.random() * (yRange * (1 - minVerticalFraction)) +
minVerticalFraction * yRange -
offset;
@@ -1,11 +1,11 @@
function f() {
const appEntities = getAppEntities(loadObject).filter(
const appEntitys = getAppEntitys(loadObject).filter(
entity => entity && entity.isInstallAvailable() && !entity.isQueue() && entity.isDisabled()
)
}

function f() {
const appEntities = getAppEntities(loadObject).map(
const appEntitys = getAppEntitys(loadObject).map(
entity => entity && entity.isInstallAvailable() && !entity.isQueue() && entity.isDisabled() && {
id: entity.id
}
@@ -1,5 +1,5 @@
a = (
// Comment 1
// Commment 1
(Math.random() * (yRange * (1 - minVerticalFraction)))
+ (minVerticalFraction * yRange)
) - offset;
@@ -429,7 +429,7 @@ export const foo = {
<Foo bg='red'>
<Bar >hi </Bar>
{ hello }
{ /* another comment */}
{ /* another commment */}
</Foo>

\`\`\`
@@ -468,7 +468,7 @@ I'm an awesome paragraph.
<Foo bg="red">
<Bar>hi </Bar>
{hello}
{/* another comment */}
{/* another commment */}
</Foo>

\`\`\`
@@ -520,7 +520,7 @@ export const foo = {
<Foo bg='red'>
<Bar >hi </Bar>
{ hello }
{ /* another comment */}
{ /* another commment */}
</Foo>

\`\`\`
@@ -559,7 +559,7 @@ I'm an awesome paragraph.
<Foo bg="red">
<Bar>hi </Bar>
{hello}
{/* another comment */}
{/* another commment */}
</Foo>

\`\`\`
@@ -19,7 +19,7 @@ export const foo = {
<Foo bg='red'>
<Bar >hi </Bar>
{ hello }
{ /* another comment */}
{ /* another commment */}
</Foo>
```
@@ -950,13 +950,13 @@ let {
```js
// Before
a = Math.random() * (yRange * (1 - minVerticalFraction)) +
minVerticalFraction * yRange// Comment
minVerticalFraction * yRange// Commment
-
offset;
// After
a =
// Comment
// Commment
Math.random() * (yRange * (1 - minVerticalFraction)) +
minVerticalFraction * yRange -
offset;
@@ -194,7 +194,7 @@ export default function(parser) {
"<Foo bg='red'>",
" <Bar >hi </Bar>",
" { hello }",
" { /* another comment */}",
" { /* another commment */}",
"</Foo>",
"",
"```",

0 comments on commit 443d58d

Please sign in to comment.
You can’t perform that action at this time.