mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
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:
@@ -256,7 +256,8 @@ export class ConfigEditor extends PureComponent<Props> {
|
||||
<p>
|
||||
Setting the database for this datasource does not deny access to other databases. The InfluxDB query
|
||||
syntax allows switching the database in the query. For example:
|
||||
<code>SHOW MEASUREMENTS ON _internal</code> or <code>SELECT * FROM "_internal".."database" LIMIT 10</code>
|
||||
<code>SHOW MEASUREMENTS ON _internal</code> or
|
||||
<code>SELECT * FROM "_internal".."database" LIMIT 10</code>
|
||||
<br />
|
||||
<br />
|
||||
To support data isolation and security, make sure appropriate permissions are configured in InfluxDB.
|
||||
|
||||
@@ -245,7 +245,7 @@ exports[`Render should disable basic auth password input 1`] = `
|
||||
<code>
|
||||
SHOW MEASUREMENTS ON _internal
|
||||
</code>
|
||||
or
|
||||
or
|
||||
<code>
|
||||
SELECT * FROM "_internal".."database" LIMIT 10
|
||||
</code>
|
||||
@@ -533,7 +533,7 @@ exports[`Render should hide basic auth fields when switch off 1`] = `
|
||||
<code>
|
||||
SHOW MEASUREMENTS ON _internal
|
||||
</code>
|
||||
or
|
||||
or
|
||||
<code>
|
||||
SELECT * FROM "_internal".."database" LIMIT 10
|
||||
</code>
|
||||
@@ -821,7 +821,7 @@ exports[`Render should hide white listed cookies input when browser access chose
|
||||
<code>
|
||||
SHOW MEASUREMENTS ON _internal
|
||||
</code>
|
||||
or
|
||||
or
|
||||
<code>
|
||||
SELECT * FROM "_internal".."database" LIMIT 10
|
||||
</code>
|
||||
@@ -1109,7 +1109,7 @@ exports[`Render should render component 1`] = `
|
||||
<code>
|
||||
SHOW MEASUREMENTS ON _internal
|
||||
</code>
|
||||
or
|
||||
or
|
||||
<code>
|
||||
SELECT * FROM "_internal".."database" LIMIT 10
|
||||
</code>
|
||||
|
||||
@@ -137,7 +137,7 @@ export class PromQueryEditor extends PureComponent<Props, State> {
|
||||
<>
|
||||
An additional lower limit for the step parameter of the Prometheus query and for the{' '}
|
||||
<code>$__interval</code> and <code>$__rate_interval</code> variables. The limit is absolute and not
|
||||
modified by the "Resolution" setting.
|
||||
modified by the "Resolution" setting.
|
||||
</>
|
||||
}
|
||||
>
|
||||
|
||||
@@ -168,7 +168,7 @@ export const QueryEditor = ({ query, datasource, onChange, onRunQuery }: Props)
|
||||
<br />
|
||||
{`{ key = "value", key2 = "value" }`}
|
||||
<br />
|
||||
key="value", key2="value"
|
||||
key="value", key2="value"
|
||||
<br />
|
||||
key=value, key2=value
|
||||
<br />
|
||||
|
||||
Reference in New Issue
Block a user