diff --git a/docs/vim.md b/docs/vim.md index 035db3f8..2c3dd8cb 100644 --- a/docs/vim.md +++ b/docs/vim.md @@ -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: ``` p diff --git a/src/printer.js b/src/printer.js index d1e6b976..ad2c888f 100644 --- a/src/printer.js +++ b/src/printer.js @@ -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([ diff --git a/tests/css_less_docs/less_docs.css b/tests/css_less_docs/less_docs.css index f2a98ec8..0229682b 100644 --- a/tests/css_less_docs/less_docs.css +++ b/tests/css_less_docs/less_docs.css @@ -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 { diff --git a/tests/flow/requireLazy/__snapshots__/jsfmt.spec.js.snap b/tests/flow/requireLazy/__snapshots__/jsfmt.spec.js.snap index 3e7a2455..8d446b51 100644 --- a/tests/flow/requireLazy/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/requireLazy/__snapshots__/jsfmt.spec.js.snap @@ -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 `; diff --git a/tests/flow/requireLazy/requireLazy.js b/tests/flow/requireLazy/requireLazy.js index 4bc44c3a..d7e38b73 100644 --- a/tests/flow/requireLazy/requireLazy.js +++ b/tests/flow/requireLazy/requireLazy.js @@ -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 diff --git a/tests/typescript/conformance/types/functions/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/conformance/types/functions/__snapshots__/jsfmt.spec.js.snap index 8b7735f4..7b537933 100644 --- a/tests/typescript/conformance/types/functions/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/conformance/types/functions/__snapshots__/jsfmt.spec.js.snap @@ -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; diff --git a/tests/typescript/conformance/types/functions/functionImplementationErrors.ts b/tests/typescript/conformance/types/functions/functionImplementationErrors.ts index a4330609..0bc2b899 100644 --- a/tests/typescript/conformance/types/functions/functionImplementationErrors.ts +++ b/tests/typescript/conformance/types/functions/functionImplementationErrors.ts @@ -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 { } diff --git a/website/README.md b/website/README.md index 7e9c5318..999a122b 100644 --- a/website/README.md +++ b/website/README.md @@ -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