From fe716c6dc43d4d7acb437136b1c87902e8ff0bc4 Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Fri, 31 Mar 2017 13:54:46 +0200 Subject: re-format js code (#1877) --- .../main/js/apps/about/components/AboutAppForSonarQubeDotCom.js | 3 +-- .../src/main/js/apps/about/components/AboutStandards.js | 6 +++--- .../src/main/js/apps/about/components/EntryIssueTypes.js | 9 +++------ .../apps/about/components/EntryIssueTypesForSonarQubeDotCom.js | 9 +++------ 4 files changed, 10 insertions(+), 17 deletions(-) (limited to 'server/sonar-web/src/main/js/apps/about/components') 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 { + target="_blank"> Get Started {!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"> SANS Top 25 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 { + className="about-page-issue-type-link"> {formatMeasure(bugs, 'SHORT_INT')} @@ -58,8 +57,7 @@ export default class EntryIssueTypes extends React.Component { + className="about-page-issue-type-link"> {formatMeasure(vulnerabilities, 'SHORT_INT')} @@ -72,8 +70,7 @@ export default class EntryIssueTypes extends React.Component { + className="about-page-issue-type-link"> {formatMeasure(codeSmells, 'SHORT_INT')} 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 { + className="about-page-issue-type-link"> {formatMeasure(bugs, 'SHORT_INT')} @@ -58,8 +57,7 @@ export default class EntryIssueTypesForSonarQubeDotCom extends React.Component { + className="about-page-issue-type-link"> {formatMeasure(vulnerabilities, 'SHORT_INT')} @@ -72,8 +70,7 @@ export default class EntryIssueTypesForSonarQubeDotCom extends React.Component { + className="about-page-issue-type-link"> {formatMeasure(codeSmells, 'SHORT_INT')} -- cgit v1.2.3