diff options
author | Philippe Perrin <philippe.perrin@sonarsource.com> | 2022-04-07 20:10:48 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2022-04-08 20:02:59 +0000 |
commit | 426062571e84035f9ff66f4e53bba71837c61921 (patch) | |
tree | 6688c82f876789293b752d8519ac152ff1cb83ad /server/sonar-web/src/main/js/components/SourceViewer | |
parent | 8552fdb1d725753b4c4128ef81771db528d41c49 (diff) | |
download | sonarqube-426062571e84035f9ff66f4e53bba71837c61921.tar.gz sonarqube-426062571e84035f9ff66f4e53bba71837c61921.zip |
[NO-JIRA] Fix eslint issues
Diffstat (limited to 'server/sonar-web/src/main/js/components/SourceViewer')
4 files changed, 0 insertions, 4 deletions
diff --git a/server/sonar-web/src/main/js/components/SourceViewer/SourceViewerBase.tsx b/server/sonar-web/src/main/js/components/SourceViewer/SourceViewerBase.tsx index cab1a4a622a..e2e41a16165 100644 --- a/server/sonar-web/src/main/js/components/SourceViewer/SourceViewerBase.tsx +++ b/server/sonar-web/src/main/js/components/SourceViewer/SourceViewerBase.tsx @@ -588,7 +588,6 @@ export default class SourceViewerBase extends React.PureComponent<Props, State> return ( <SourceViewerCode branchLike={this.props.branchLike} - componentKey={this.props.component} displayAllIssues={this.props.displayAllIssues} displayIssueLocationsCount={this.props.displayIssueLocationsCount} displayIssueLocationsLink={this.props.displayIssueLocationsLink} diff --git a/server/sonar-web/src/main/js/components/SourceViewer/SourceViewerCode.tsx b/server/sonar-web/src/main/js/components/SourceViewer/SourceViewerCode.tsx index ebeb526fff6..e3e604671b6 100644 --- a/server/sonar-web/src/main/js/components/SourceViewer/SourceViewerCode.tsx +++ b/server/sonar-web/src/main/js/components/SourceViewer/SourceViewerCode.tsx @@ -48,7 +48,6 @@ const ZERO_LINE = { interface Props { branchLike: BranchLike | undefined; - componentKey: string; displayAllIssues?: boolean; displayIssueLocationsCount?: boolean; displayIssueLocationsLink?: boolean; diff --git a/server/sonar-web/src/main/js/components/SourceViewer/__tests__/SourceViewerCode-test.tsx b/server/sonar-web/src/main/js/components/SourceViewer/__tests__/SourceViewerCode-test.tsx index 605f29a1930..e51a763b9df 100644 --- a/server/sonar-web/src/main/js/components/SourceViewer/__tests__/SourceViewerCode-test.tsx +++ b/server/sonar-web/src/main/js/components/SourceViewer/__tests__/SourceViewerCode-test.tsx @@ -82,7 +82,6 @@ function shallowRender(props: Partial<SourceViewerCode['props']> = {}) { return shallow<SourceViewerCode>( <SourceViewerCode branchLike={mockBranch()} - componentKey="foo" duplications={[]} duplicationsByLine={[]} hasSourcesAfter={false} diff --git a/server/sonar-web/src/main/js/components/SourceViewer/__tests__/__snapshots__/SourceViewerBase-test.tsx.snap b/server/sonar-web/src/main/js/components/SourceViewer/__tests__/__snapshots__/SourceViewerBase-test.tsx.snap index 6c3cbd2af18..62e0125c3de 100644 --- a/server/sonar-web/src/main/js/components/SourceViewer/__tests__/__snapshots__/SourceViewerBase-test.tsx.snap +++ b/server/sonar-web/src/main/js/components/SourceViewer/__tests__/__snapshots__/SourceViewerBase-test.tsx.snap @@ -43,7 +43,6 @@ exports[`should render correctly 1`] = ` "name": "master", } } - componentKey="my-component" displayAllIssues={false} displayIssueLocationsCount={true} displayIssueLocationsLink={true} |