Chore: Enable remaining eslint-plugin-react rules (#29519)

* Chore: Enable eslint react/no-render-return-value rule

Eanble the rule and remove the unused render return

part of: #29201

* Chore: Enable eslint react/no-children-prop rule

Not linting issues after turning on this. No other file changes requried

part of: #29201

* Chore: Enable eslint react/no-unknown-property rule

Correct enable-background to enableBackground

part of: #29201

* Chore: Enable eslint react/no-unescaped-entities rule

Replaced " with " replaced ' with '

part of: #29201
This commit is contained in:
Chi-Hsuan Huang
2020-12-02 17:03:37 +08:00
committed by GitHub
parent eb16eb5d72
commit 73518bf1e7
15 changed files with 21 additions and 24 deletions

View File

@@ -71,7 +71,7 @@ export class PluginHelp extends PureComponent<Props, State> {
}
if (isError) {
return <h3>'Error occurred when loading help'</h3>;
return <h3>&apos;Error occurred when loading help&apos;</h3>;
}
if (type === 'panel_help' && help === '') {