aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/about/components
diff options
context:
space:
mode:
authorStas Vilchik <stas-vilchik@users.noreply.github.com>2017-03-31 13:54:46 +0200
committerGitHub <noreply@github.com>2017-03-31 13:54:46 +0200
commitfe716c6dc43d4d7acb437136b1c87902e8ff0bc4 (patch)
tree6b8a18d7a8f76de1fd34be3235d1639477b75d71 /server/sonar-web/src/main/js/apps/about/components
parente660d605a27992d82d901b8fe0b8938da7afb270 (diff)
downloadsonarqube-fe716c6dc43d4d7acb437136b1c87902e8ff0bc4.tar.gz
sonarqube-fe716c6dc43d4d7acb437136b1c87902e8ff0bc4.zip
re-format js code (#1877)
Diffstat (limited to 'server/sonar-web/src/main/js/apps/about/components')
-rw-r--r--server/sonar-web/src/main/js/apps/about/components/AboutAppForSonarQubeDotCom.js3
-rw-r--r--server/sonar-web/src/main/js/apps/about/components/AboutStandards.js6
-rw-r--r--server/sonar-web/src/main/js/apps/about/components/EntryIssueTypes.js9
-rw-r--r--server/sonar-web/src/main/js/apps/about/components/EntryIssueTypesForSonarQubeDotCom.js9
4 files changed, 10 insertions, 17 deletions
diff --git a/server/sonar-web/src/main/js/apps/about/components/AboutAppForSonarQubeDotCom.js b/server/sonar-web/src/main/js/apps/about/components/AboutAppForSonarQubeDotCom.js
index 36fb27aea43..6d43c38a8f7 100644
--- a/server/sonar-web/src/main/js/apps/about/components/AboutAppForSonarQubeDotCom.js
+++ b/server/sonar-web/src/main/js/apps/about/components/AboutAppForSonarQubeDotCom.js
@@ -56,8 +56,7 @@ export default class AboutAppForSonarQubeDotCom extends React.Component {
<a
className="button button-active"
href="https://about.sonarqube.com/get-started/"
- target="_blank"
- >
+ target="_blank">
Get Started
</a>
{!this.props.currentUser.isLoggedIn &&
diff --git a/server/sonar-web/src/main/js/apps/about/components/AboutStandards.js b/server/sonar-web/src/main/js/apps/about/components/AboutStandards.js
index c1065f5058e..295fabe38df 100644
--- a/server/sonar-web/src/main/js/apps/about/components/AboutStandards.js
+++ b/server/sonar-web/src/main/js/apps/about/components/AboutStandards.js
@@ -25,7 +25,8 @@ import { getRulesUrl } from '../../../helpers/urls';
const link = 'https://redirect.sonarsource.com/doc/rules.html';
-const owaspTags = 'owasp-a1,owasp-a2,owasp-a3,owasp-a4,owasp-a5,owasp-a6,owasp-a7,owasp-a8,owasp-a9,owasp-a10';
+const owaspTags = 'owasp-a1,owasp-a2,owasp-a3,owasp-a4,owasp-a5,' +
+ 'owasp-a6,owasp-a7,owasp-a8,owasp-a9,owasp-a10';
export default class AboutStandards extends React.Component {
render() {
@@ -66,8 +67,7 @@ export default class AboutStandards extends React.Component {
to={getRulesUrl({
tags: 'sans-top25-porous,sans-top25-risky,sans-top25-insecure'
})}
- className="link-with-icon"
- >
+ className="link-with-icon">
<i className="icon-tags" />
<span className="little-spacer-left">SANS Top 25</span>
</Link>
diff --git a/server/sonar-web/src/main/js/apps/about/components/EntryIssueTypes.js b/server/sonar-web/src/main/js/apps/about/components/EntryIssueTypes.js
index 712dc253293..3ae7d82992d 100644
--- a/server/sonar-web/src/main/js/apps/about/components/EntryIssueTypes.js
+++ b/server/sonar-web/src/main/js/apps/about/components/EntryIssueTypes.js
@@ -44,8 +44,7 @@ export default class EntryIssueTypes extends React.Component {
<td className="about-page-issue-type-number">
<Link
to={getIssuesUrl({ resolved: false, types: 'BUG' })}
- className="about-page-issue-type-link"
- >
+ className="about-page-issue-type-link">
{formatMeasure(bugs, 'SHORT_INT')}
</Link>
</td>
@@ -58,8 +57,7 @@ export default class EntryIssueTypes extends React.Component {
<td className="about-page-issue-type-number">
<Link
to={getIssuesUrl({ resolved: false, types: 'VULNERABILITY' })}
- className="about-page-issue-type-link"
- >
+ className="about-page-issue-type-link">
{formatMeasure(vulnerabilities, 'SHORT_INT')}
</Link>
</td>
@@ -72,8 +70,7 @@ export default class EntryIssueTypes extends React.Component {
<td className="about-page-issue-type-number">
<Link
to={getIssuesUrl({ resolved: false, types: 'CODE_SMELL' })}
- className="about-page-issue-type-link"
- >
+ className="about-page-issue-type-link">
{formatMeasure(codeSmells, 'SHORT_INT')}
</Link>
</td>
diff --git a/server/sonar-web/src/main/js/apps/about/components/EntryIssueTypesForSonarQubeDotCom.js b/server/sonar-web/src/main/js/apps/about/components/EntryIssueTypesForSonarQubeDotCom.js
index 8ec4c383d79..3b974ffd770 100644
--- a/server/sonar-web/src/main/js/apps/about/components/EntryIssueTypesForSonarQubeDotCom.js
+++ b/server/sonar-web/src/main/js/apps/about/components/EntryIssueTypesForSonarQubeDotCom.js
@@ -44,8 +44,7 @@ export default class EntryIssueTypesForSonarQubeDotCom extends React.Component {
<td className="about-page-issue-type-number">
<Link
to={getIssuesUrl({ resolved: false, types: 'BUG' })}
- className="about-page-issue-type-link"
- >
+ className="about-page-issue-type-link">
{formatMeasure(bugs, 'SHORT_INT')}
</Link>
</td>
@@ -58,8 +57,7 @@ export default class EntryIssueTypesForSonarQubeDotCom extends React.Component {
<td className="about-page-issue-type-number">
<Link
to={getIssuesUrl({ resolved: false, types: 'VULNERABILITY' })}
- className="about-page-issue-type-link"
- >
+ className="about-page-issue-type-link">
{formatMeasure(vulnerabilities, 'SHORT_INT')}
</Link>
</td>
@@ -72,8 +70,7 @@ export default class EntryIssueTypesForSonarQubeDotCom extends React.Component {
<td className="about-page-issue-type-number">
<Link
to={getIssuesUrl({ resolved: false, types: 'CODE_SMELL' })}
- className="about-page-issue-type-link"
- >
+ className="about-page-issue-type-link">
{formatMeasure(codeSmells, 'SHORT_INT')}
</Link>
</td>