Skip to content

Commit

Permalink
More HTTP => HTTPS
Browse files Browse the repository at this point in the history
  • Loading branch information
Schweinepriester committed Jan 1, 2022
1 parent cfe5fe2 commit 30b98ba
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/rules/jsx-curly-spacing.md
Expand Up @@ -219,7 +219,7 @@ Examples of **correct** code for this rule, when configured with `"never"` and `
<App blah={3} foo={ {bar: true, baz: true} } />;
```

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.
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.

### Shorthand options

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/jsx-uses-vars.md
@@ -1,6 +1,6 @@
# Prevent variables used in JSX to be incorrectly marked as unused (react/jsx-uses-vars)

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.
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.

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

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-render-return-value.md
@@ -1,6 +1,6 @@
# Prevent usage of the return value of ReactDOM.render (react/no-render-return-value)

> `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.
> `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.
Source: [ReactDOM documentation](https://facebook.github.io/react/docs/react-dom.html#render)

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-unused-prop-types.md
Expand Up @@ -140,5 +140,5 @@ AComponent.propTypes = {
```

[PropTypes]: https://reactjs.org/docs/typechecking-with-proptypes.html
[TypeScript]: http://www.typescriptlang.org/
[TypeScript]: https://www.typescriptlang.org/
[Flow]: https://flow.org/
2 changes: 1 addition & 1 deletion docs/rules/prefer-stateless-function.md
Expand Up @@ -6,7 +6,7 @@ Stateless functional components are simpler than class based components and will

This rule will check your class based React components for

* 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))
* 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))
* instance property other than `this.props` and `this.context`
* extension of `React.PureComponent` (if the `ignorePureComponents` flag is true)
* presence of `ref` attribute in JSX
Expand Down
2 changes: 1 addition & 1 deletion docs/rules/prop-types.md
Expand Up @@ -176,5 +176,5 @@ For now we should detect components created with:
* an ES6 class that inherit from `React.Component` or `Component`

[PropTypes]: https://reactjs.org/docs/typechecking-with-proptypes.html
[TypeScript]: http://www.typescriptlang.org/
[TypeScript]: https://www.typescriptlang.org/
[Flow]: https://flow.org/
2 changes: 1 addition & 1 deletion docs/rules/require-default-props.md
Expand Up @@ -348,5 +348,5 @@ If you don't care about using `defaultProps` for your component's props that are
- [Official React documentation on defaultProps](https://facebook.github.io/react/docs/typechecking-with-proptypes.html#default-prop-values)

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

0 comments on commit 30b98ba

Please sign in to comment.