Fix typos (#3212)
* Adding --stdin-filepath option in order to enable filetype inference from stdin * Fixing typo on the documentation * Fixing typos - fixing some typos * Restoring static lib files back since they are artifactsmaster
parent
d2241fc0d5
commit
813d9b93eb
|
@ -83,7 +83,7 @@ vim-prettier executable resolution:
|
|||
|
||||
### vim-prettier - Usage
|
||||
|
||||
Prettier by default will run on auto save but can also be manualy triggered by:
|
||||
Prettier by default will run on auto save but can also be manually triggered by:
|
||||
|
||||
```
|
||||
<Leader>p
|
||||
|
|
|
@ -1292,7 +1292,7 @@ function genericPrintNoParens(path, options, print, args) {
|
|||
forceNoIndent = true;
|
||||
|
||||
// Even though they don't need parens, we wrap (almost) everything in
|
||||
// parens when using ?: within JSX, because the parens are analagous to
|
||||
// parens when using ?: within JSX, because the parens are analogous to
|
||||
// curly braces in an if statement.
|
||||
const wrap = doc =>
|
||||
concat([
|
||||
|
|
|
@ -1076,7 +1076,7 @@ div {
|
|||
.mixin();
|
||||
}
|
||||
|
||||
@size: globaly-defined-value; // callers parent scope - no protection
|
||||
@size: globally-defined-value; // callers parent scope - no protection
|
||||
|
||||
|
||||
.class {
|
||||
|
|
|
@ -68,7 +68,7 @@ var notB: Object = B;
|
|||
|
||||
requireLazy(); // Error: No args
|
||||
requireLazy([nope], function() {}); // Error: Non-stringliteral args
|
||||
requireLazy(['A']); // Error: No calback expression
|
||||
requireLazy(['A']); // Error: No callback expression
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
/**
|
||||
* @flow
|
||||
|
@ -91,6 +91,6 @@ var notB: Object = B;
|
|||
|
||||
requireLazy(); // Error: No args
|
||||
requireLazy([nope], function() {}); // Error: Non-stringliteral args
|
||||
requireLazy(["A"]); // Error: No calback expression
|
||||
requireLazy(["A"]); // Error: No callback expression
|
||||
|
||||
`;
|
||||
|
|
|
@ -19,4 +19,4 @@ var notB: Object = B;
|
|||
|
||||
requireLazy(); // Error: No args
|
||||
requireLazy([nope], function() {}); // Error: Non-stringliteral args
|
||||
requireLazy(['A']); // Error: No calback expression
|
||||
requireLazy(['A']); // Error: No callback expression
|
||||
|
|
|
@ -26,7 +26,7 @@ var f4 = function () {
|
|||
}
|
||||
}
|
||||
|
||||
// Function implemetnation with non -void return type annotation with no return
|
||||
// Function implementation with non -void return type annotation with no return
|
||||
function f5(): number {
|
||||
}
|
||||
|
||||
|
@ -101,7 +101,7 @@ var f4 = function() {
|
|||
}
|
||||
};
|
||||
|
||||
// Function implemetnation with non -void return type annotation with no return
|
||||
// Function implementation with non -void return type annotation with no return
|
||||
function f5(): number {}
|
||||
|
||||
var m;
|
||||
|
|
|
@ -23,7 +23,7 @@ var f4 = function () {
|
|||
}
|
||||
}
|
||||
|
||||
// Function implemetnation with non -void return type annotation with no return
|
||||
// Function implementation with non -void return type annotation with no return
|
||||
function f5(): number {
|
||||
}
|
||||
|
||||
|
|
|
@ -55,7 +55,7 @@ To run your website locally run the script:
|
|||
yarn start
|
||||
```
|
||||
|
||||
This will start a server hosting your website locally at `localhost:3000`. This server will ignore any occurences `siteConfig.baseUrl` in URLs, e.g. `localhost:3000/your-site/index.html` will be the same as `localhost:3000/index.html`. Any changes to configured files will be reflected by refreshing the page, i.e. the server does not need to be restarted to show changes.
|
||||
This will start a server hosting your website locally at `localhost:3000`. This server will ignore any occurrences `siteConfig.baseUrl` in URLs, e.g. `localhost:3000/your-site/index.html` will be the same as `localhost:3000/index.html`. Any changes to configured files will be reflected by refreshing the page, i.e. the server does not need to be restarted to show changes.
|
||||
|
||||
|
||||
### Build Static Pages
|
||||
|
|
Loading…
Reference in New Issue