Skip to content

Commit 151bb2b

Browse files
Schweinepriesterljharb
authored andcommitted
[Docs] HTTP => HTTPS
1 parent ccf3c35 commit 151bb2b

16 files changed

+59
-57
lines changed

CHANGELOG.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Change Log
22
All notable changes to this project will be documented in this file.
3-
This project adheres to [Semantic Versioning](http://semver.org/).
4-
This change log adheres to standards from [Keep a CHANGELOG](http://keepachangelog.com).
3+
This project adheres to [Semantic Versioning](https://semver.org/).
4+
This change log adheres to standards from [Keep a CHANGELOG](https://keepachangelog.com).
55

66
## Unreleased
77

@@ -13,9 +13,11 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel
1313

1414
### Changed
1515
* [readme] change [`jsx-runtime`] link from branch to sha ([#3160][] @tatsushitoji)
16+
* [Docs] HTTP => HTTPS ([#3133][] @Schweinepriester)
1617

1718
[#3163]: https://github.com/yannickcr/eslint-plugin-react/pull/3163
1819
[#3160]: https://github.com/yannickcr/eslint-plugin-react/pull/3160
20+
[#3133]: https://github.com/yannickcr/eslint-plugin-react/pull/3133
1921
[#2921]: https://github.com/yannickcr/eslint-plugin-react/pull/2921
2022

2123
## [7.28.0] - 2021.12.22
@@ -2189,7 +2191,7 @@ React ([#1073][] @jomasti)
21892191
* Add support for `PureComponent` in [`prefer-stateless-function`][] ([#781][] @tiemevanveen)
21902192

21912193
### Fixed
2192-
* Fix [`jsx-uses-vars`][] to work better with [`prefer-const`](http://eslint.org/docs/rules/prefer-const). You'll need to upgrade to ESLint 3.4.0 to completely fix the compatibility issue ([#716][])
2194+
* Fix [`jsx-uses-vars`][] to work better with [`prefer-const`](https://eslint.org/docs/rules/prefer-const). You'll need to upgrade to ESLint 3.4.0 to completely fix the compatibility issue ([#716][])
21932195
* Fix [`require-render-return`][] crash ([#784][])
21942196
* Fix related components detection in [`prop-types`][] ([#735][])
21952197
* Fix component detection to ignore functions expression without a parent component

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,11 +262,11 @@ This pairs well with the `eslint:all` rule.
262262
}
263263
```
264264

265-
**Note**: These configurations will import `eslint-plugin-react` and enable JSX in [parser options](http://eslint.org/docs/user-guide/configuring#specifying-parser-options).
265+
**Note**: These configurations will import `eslint-plugin-react` and enable JSX in [parser options](https://eslint.org/docs/user-guide/configuring/language-options#specifying-parser-options).
266266

267267
# License
268268

269-
`eslint-plugin-react` is licensed under the [MIT License](http://www.opensource.org/licenses/mit-license.php).
269+
`eslint-plugin-react` is licensed under the [MIT License](https://opensource.org/licenses/mit-license.php).
270270

271271

272272
[npm-url]: https://npmjs.org/package/eslint-plugin-react

docs/rules/boolean-prop-naming.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,5 +118,5 @@ This value is boolean. It tells if nested props should be validated as well. By
118118
```
119119

120120
[PropTypes]: https://reactjs.org/docs/typechecking-with-proptypes.html
121-
[TypeScript]: http://www.typescriptlang.org/
121+
[TypeScript]: https://www.typescriptlang.org/
122122
[Flow]: https://flow.org/

docs/rules/default-props-match-prop-types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,5 +196,5 @@ If you don't care about stray `defaultsProps` in your components, you can disabl
196196
- [Official React documentation on defaultProps](https://facebook.github.io/react/docs/typechecking-with-proptypes.html#default-prop-values)
197197

198198
[PropTypes]: https://reactjs.org/docs/typechecking-with-proptypes.html
199-
[TypeScript]: http://www.typescriptlang.org/
199+
[TypeScript]: https://www.typescriptlang.org/
200200
[Flow]: https://flow.org/

docs/rules/jsx-curly-spacing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ Examples of **correct** code for this rule, when configured with `"never"` and `
219219
<App blah={3} foo={ {bar: true, baz: true} } />;
220220
```
221221

222-
Please note that spacing of the object literal curly braces themselves is controlled by the built-in [`object-curly-spacing`](http://eslint.org/docs/rules/object-curly-spacing) rule.
222+
Please note that spacing of the object literal curly braces themselves is controlled by the built-in [`object-curly-spacing`](https://eslint.org/docs/rules/object-curly-spacing) rule.
223223

224224
### Shorthand options
225225

docs/rules/jsx-no-target-blank.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,16 +37,16 @@ This rule aims to prevent user generated link hrefs and form actions from creati
3737
Examples of **incorrect** code for this rule, when configured with `{ "enforceDynamicLinks": "always" }`:
3838

3939
```jsx
40-
var Hello = <a target='_blank' href="http://example.com/"></a>
40+
var Hello = <a target='_blank' href="https://example.com/"></a>
4141
var Hello = <a target='_blank' href={dynamicLink}></a>
4242
```
4343

4444
Examples of **correct** code for this rule:
4545

4646
```jsx
4747
var Hello = <p target="_blank"></p>
48-
var Hello = <a target="_blank" rel="noreferrer" href="http://example.com"></a>
49-
var Hello = <a target="_blank" rel="noopener noreferrer" href="http://example.com"></a>
48+
var Hello = <a target="_blank" rel="noreferrer" href="https://example.com"></a>
49+
var Hello = <a target="_blank" rel="noopener noreferrer" href="https://example.com"></a>
5050
var Hello = <a target="_blank" href="relative/path/in/the/host"></a>
5151
var Hello = <a target="_blank" href="/absolute/path/in/the/host"></a>
5252
var Hello = <a></a>
@@ -68,7 +68,7 @@ Spread attributes are a handy way of passing programmatically-generated props to
6868

6969
```jsx
7070
const unsafeProps = {
71-
href: "http://example.com",
71+
href: "https://example.com",
7272
target: "_blank",
7373
};
7474

@@ -88,13 +88,13 @@ Defaults to false. If false, this rule will ignore all spread attributes. If tru
8888
When option `forms` is set to `true`, the following is considered an error:
8989

9090
```jsx
91-
var Hello = <form target="_blank" action="http://example.com/"></form>;
91+
var Hello = <form target="_blank" action="https://example.com/"></form>;
9292
```
9393

9494
When option `links` is set to `true`, the following is considered an error:
9595

9696
```jsx
97-
var Hello = <a target='_blank' href="http://example.com/"></form>
97+
var Hello = <a target='_blank' href="https://example.com/"></form>
9898
```
9999

100100
### Custom link components
@@ -104,14 +104,14 @@ This rule supports the ability to use custom components for links, such as `<Lin
104104
Examples of **incorrect** code for this rule:
105105

106106
```jsx
107-
var Hello = <Link target="_blank" to="http://example.com/"></Link>
107+
var Hello = <Link target="_blank" to="https://example.com/"></Link>
108108
var Hello = <Link target="_blank" to={dynamicLink}></Link>
109109
```
110110

111111
Examples of **correct** code for this rule:
112112

113113
```jsx
114-
var Hello = <Link target="_blank" rel="noopener noreferrer" to="http://example.com"></Link>
114+
var Hello = <Link target="_blank" rel="noopener noreferrer" to="https://example.com"></Link>
115115
var Hello = <Link target="_blank" to="relative/path/in/the/host"></Link>
116116
var Hello = <Link target="_blank" to="/absolute/path/in/the/host"></Link>
117117
var Hello = <Link />

docs/rules/jsx-uses-vars.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Prevent variables used in JSX to be incorrectly marked as unused (react/jsx-uses-vars)
22

3-
Since 0.17.0 the `eslint` `no-unused-vars` rule does not detect variables used in JSX ([see details](http://eslint.org/blog/2015/03/eslint-0.17.0-released#changes-to-jsxreact-handling)). This rule will find variables used in JSX and mark them as used.
3+
Since 0.17.0 the `eslint` `no-unused-vars` rule does not detect variables used in JSX ([see details](https://eslint.org/blog/2015/03/eslint-0.17.0-released#changes-to-jsxreact-handling)). This rule will find variables used in JSX and mark them as used.
44

55
This rule only has an effect when the `no-unused-vars` rule is enabled.
66

docs/rules/no-render-return-value.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Prevent usage of the return value of ReactDOM.render (react/no-render-return-value)
22

3-
> `ReactDOM.render()` currently returns a reference to the root `ReactComponent` instance. However, using this return value is legacy and should be avoided because future versions of React may render components asynchronously in some cases. If you need a reference to the root `ReactComponent` instance, the preferred solution is to attach a [callback ref](http://facebook.github.io/react/docs/more-about-refs.html#the-ref-callback-attribute) to the root element.
3+
> `ReactDOM.render()` currently returns a reference to the root `ReactComponent` instance. However, using this return value is legacy and should be avoided because future versions of React may render components asynchronously in some cases. If you need a reference to the root `ReactComponent` instance, the preferred solution is to attach a [callback ref](https://reactjs.org/docs/refs-and-the-dom.html#callback-refs) to the root element.
44
55
Source: [ReactDOM documentation](https://facebook.github.io/react/docs/react-dom.html#render)
66

docs/rules/no-unused-prop-types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,5 +140,5 @@ AComponent.propTypes = {
140140
```
141141

142142
[PropTypes]: https://reactjs.org/docs/typechecking-with-proptypes.html
143-
[TypeScript]: http://www.typescriptlang.org/
143+
[TypeScript]: https://www.typescriptlang.org/
144144
[Flow]: https://flow.org/

docs/rules/prefer-stateless-function.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Stateless functional components are simpler than class based components and will
66

77
This rule will check your class based React components for
88

9-
* methods/properties other than `displayName`, `propTypes`, `contextTypes`, `defaultProps`, `render` and useless constructor (same detection as `eslint` [no-useless-constructor rule](http://eslint.org/docs/rules/no-useless-constructor))
9+
* methods/properties other than `displayName`, `propTypes`, `contextTypes`, `defaultProps`, `render` and useless constructor (same detection as `eslint` [no-useless-constructor rule](https://eslint.org/docs/rules/no-useless-constructor))
1010
* instance property other than `this.props` and `this.context`
1111
* extension of `React.PureComponent` (if the `ignorePureComponents` flag is true)
1212
* presence of `ref` attribute in JSX

0 commit comments

Comments
 (0)