Skip to content

Commit 2d063e2

Browse files
BHyeonKimDMartenslumirlumir
authored
chore: update HTTP URLs to HTTPS in JSDoc and comments (#21101)
Co-authored-by: fnx <966276+DMartens@users.noreply.github.com> Co-authored-by: lumir <yonghyeon0324@gmail.com>
1 parent eccbe7b commit 2d063e2

16 files changed

Lines changed: 38 additions & 38 deletions

docs/src/_data/further_reading_links.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,9 +188,9 @@
188188
"title": "Software Module size and file size",
189189
"description": null
190190
},
191-
"http://book.mixu.net/node/ch7.html": {
191+
"https://book.mixu.net/node/ch7.html": {
192192
"domain": "book.mixu.net",
193-
"url": "http://book.mixu.net/node/ch7.html",
193+
"url": "https://book.mixu.net/node/ch7.html",
194194
"logo": null,
195195
"title": "7. Control flow - Mixu’s Node book",
196196
"description": null

docs/src/extend/code-path-analysis.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ bar();
1818
:::
1919

2020
::: tip
21-
You can view code path diagrams for any JavaScript code using [Code Explorer](http://explorer.eslint.org).
21+
You can view code path diagrams for any JavaScript code using [Code Explorer](https://explorer.eslint.org).
2222
:::
2323

2424
## Objects

docs/src/extend/custom-rule-tutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ Define the rule's `create` function, which accepts a `context` object and return
122122
You can choose any [ESTree node type](https://github.com/estree/estree) or [selector](selectors).
123123

124124
::: tip
125-
You can view the AST for any JavaScript code using [Code Explorer](http://explorer.eslint.org). This is helpful in determining the type of nodes you'd like to target.
125+
You can view the AST for any JavaScript code using [Code Explorer](https://explorer.eslint.org). This is helpful in determining the type of nodes you'd like to target.
126126
:::
127127

128128
Inside the `VariableDeclarator` visitor method, check if the node represents a `const` variable declaration, if its name is `foo`, and if it's not assigned to the string `"bar"`. You do this by evaluating the `node` passed to the `VariableDeclaration` method.

docs/src/extend/custom-rules.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ module.exports = {
148148
```
149149
150150
::: tip
151-
You can view the complete AST for any JavaScript code using [Code Explorer](http://explorer.eslint.org).
151+
You can view the complete AST for any JavaScript code using [Code Explorer](https://explorer.eslint.org).
152152
:::
153153
154154
## The Context Object
@@ -696,7 +696,7 @@ There are two formats for a rule's `schema`:
696696
- A full JSON Schema object that will validate the `context.options` array
697697
- The schema should assume an array of options to validate even if your rule only accepts one option.
698698
- The schema can be arbitrarily complex, so you can validate completely different sets of potential options via `oneOf`, `anyOf` etc.
699-
- The supported version of JSON Schemas is [Draft-04](http://json-schema.org/draft-04/schema), so some newer features such as `if` or `$data` are unavailable.
699+
- The supported version of JSON Schemas is [Draft-04](https://json-schema.org/draft-04/schema), so some newer features such as `if` or `$data` are unavailable.
700700
- At present, it is explicitly planned to not update schema support beyond this level due to ecosystem compatibility concerns. See [this comment](https://github.com/eslint/eslint/issues/13888#issuecomment-872591875) for further context.
701701
702702
For example, the `yoda` rule accepts a primary mode argument of `"always"` or `"never"`, as well as an extra options object with an optional property `exceptRange`:
@@ -894,7 +894,7 @@ ESLint may disable Ajv's `useDefaults` in a future major version.
894894
The `SourceCode#getScope(node)` method returns the scope of the given node. It is a useful method for finding information about the variables in a given scope and how they are used in other scopes.
895895
896896
::: tip
897-
You can view scope information for any JavaScript code using [Code Explorer](http://explorer.eslint.org).
897+
You can view scope information for any JavaScript code using [Code Explorer](https://explorer.eslint.org).
898898
:::
899899
900900
#### Scope types

docs/src/rules/max-nested-callbacks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ related_rules:
99
- max-params
1010
- max-statements
1111
further_reading:
12-
- http://book.mixu.net/node/ch7.html
12+
- https://book.mixu.net/node/ch7.html
1313
- https://web.archive.org/web/20220104141150/https://howtonode.org/control-flow
1414
- https://web.archive.org/web/20220127215850/https://howtonode.org/control-flow-part-ii
1515
---

docs/src/rules/no-misleading-character-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This rule reports regular expressions which include multiple code point characte
1414

1515
**A character with combining characters:**
1616

17-
The combining characters are characters which belong to one of `Mc`, `Me`, and `Mn` [Unicode general categories](http://www.unicode.org/L2/L1999/UnicodeData.html#General%20Category).
17+
The combining characters are characters which belong to one of `Mc`, `Me`, and `Mn` [Unicode general categories](https://www.unicode.org/L2/L1999/UnicodeData.html#General%20Category).
1818

1919
```js
2020
/^[Á]$/u.test(""); //→ false

docs/src/rules/no-undef.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,4 +101,4 @@ If explicit declaration of global variables is not to your taste.
101101

102102
## Compatibility
103103

104-
This rule provides compatibility with treatment of global variables in [JSHint](http://jshint.com/) and [JSLint](http://www.jslint.com).
104+
This rule provides compatibility with treatment of global variables in [JSHint](https://jshint.com/) and [JSLint](https://www.jslint.com).

docs/src/use/integrations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ If you would like to recommend an integration to be added to this page, [submit
2222
- Neovim:
2323
- [nvim-lspconfig](https://github.com/neovim/nvim-lspconfig/blob/master/doc/configs.md#eslint)
2424
- [nvim-lint](https://github.com/mfussenegger/nvim-lint)
25-
- Emacs: [Flycheck](http://www.flycheck.org/) supports ESLint with the [javascript-eslint](http://www.flycheck.org/en/latest/languages.html#javascript) checker.
25+
- Emacs: [Flycheck](https://www.flycheck.org/en/latest/) supports ESLint with the [javascript-eslint](https://www.flycheck.org/en/latest/languages.html#javascript) checker.
2626
- Eclipse Orion: ESLint is the [default linter](https://dev.eclipse.org/mhonarc/lists/orion-dev/msg02718.html)
2727
- Eclipse IDE: [Tern ESLint linter](https://github.com/angelozerr/tern.java/wiki/Tern-Linter-ESLint)
2828
- TextMate 2:

lib/linter/code-path-analysis/debug-helpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ module.exports = {
118118
* The DOT code can be visualized with Graphvis.
119119
* @param {CodePath} codePath A code path to dump.
120120
* @returns {void}
121-
* @see http://www.graphviz.org
121+
* @see https://www.graphviz.org
122122
* @see http://www.webgraphviz.com
123123
*/
124124
dumpDot: !debug.enabled

lib/linter/vfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function stripUnicodeBOM(value) {
4040
/*
4141
* Check Unicode BOM.
4242
* In JavaScript, string data is stored as UTF-16, so BOM is 0xFEFF.
43-
* http://www.ecma-international.org/ecma-262/6.0/#sec-unicode-format-control-characters
43+
* https://262.ecma-international.org/6.0/#sec-unicode-format-control-characters
4444
*/
4545
return value.slice(1);
4646
}

0 commit comments

Comments
 (0)