Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: cleanup typos #15936

Merged
merged 1 commit into from May 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/src/_data/languages.json
Expand Up @@ -8,7 +8,7 @@
{
"flag": "🇯🇵",
"code": "jp",
"name": "Japenese – 日本語",
"name": "Japanese - 日本語",
"url": "https://jp.eslint.org"
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/src/assets/js/focus-visible.js
Expand Up @@ -224,7 +224,7 @@ function applyFocusVisiblePolyfill(scope) {
}

/**
* When the polfyill first loads, assume the user is in keyboard modality.
* When the polyfill first loads, assume the user is in keyboard modality.
* If any event is received from a pointing device (e.g. mouse, pointer,
* touch), turn off keyboard modality.
* This accounts for situations where focus enters the page from the URL bar.
Expand Down
4 changes: 2 additions & 2 deletions docs/src/developer-guide/nodejs-api.md
Expand Up @@ -289,7 +289,7 @@ This method loads a formatter. Formatters convert lint results to a human- or ma
The path to the file you want to check. The following values are allowed:
* `undefined`. In this case, loads the `"stylish"` built-in formatter.
* A name of [built-in formatters][builtin-formatters].
* A name of [third-party formatters][thirdparty-formatters]. For examples:
* A name of [third-party formatters][third-party-formatters]. For examples:
* `"foo"` will load `eslint-formatter-foo`.
* `"@foo"` will load `@foo/eslint-formatter`.
* `"@foo/bar"` will load `@foo/eslint-formatter-bar`.
Expand Down Expand Up @@ -954,7 +954,7 @@ ruleTester.run("my-rule", myRule, {

[configuration object]: ../user-guide/configuring
[builtin-formatters]: https://eslint.org/docs/user-guide/formatters/
[thirdparty-formatters]: https://www.npmjs.com/search?q=eslintformatter
[third-party-formatters]: https://www.npmjs.com/search?q=eslintformatter
[eslint]: #eslint-class
[eslint-constructor]: #-new-eslintoptions
[eslint-lintfiles]: #-eslintlintfilespatterns
Expand Down
4 changes: 2 additions & 2 deletions docs/src/rules/eol-last.md
Expand Up @@ -28,7 +28,7 @@ Examples of **incorrect** code for this rule:
```js
/*eslint eol-last: ["error", "always"]*/

function doSmth() {
function doSomething() {
var foo = 2;
}
```
Expand All @@ -38,7 +38,7 @@ Examples of **correct** code for this rule:
```js
/*eslint eol-last: ["error", "always"]*/

function doSmth() {
function doSomething() {
var foo = 2;
}\n
```
Expand Down
2 changes: 1 addition & 1 deletion docs/src/rules/key-spacing.md
Expand Up @@ -305,7 +305,7 @@ var obj = {
"myObjectFunction": function() {
// Do something
//
}, // These are two separate groups, so no alignment between `myObjectFuction` and `one`
}, // These are two separate groups, so no alignment between `myObjectFunction` and `one`
"one" : 1,
"seven" : 7 // `one` and `seven` are in their own group, and therefore aligned
}
Expand Down