-
Notifications
You must be signed in to change notification settings - Fork 508
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix linting warnings for no-unused-vars, no-var-requires #1800
Fix linting warnings for no-unused-vars, no-var-requires #1800
Conversation
Signed-off-by: priyanshu-kun <priyanshushrama709@gmail.com>
Signed-off-by: priyanshu-kun <priyanshushrama709@gmail.com>
…TreeNode.tsx file Signed-off-by: priyanshu-kun <priyanshushrama709@gmail.com>
Signed-off-by: priyanshu-kun <priyanshushrama709@gmail.com>
433175d
to
5c45ede
Compare
Codecov ReportPatch coverage is 📢 Thoughts on this report? Let us know!. |
.eslintrc.js
Outdated
'@typescript-eslint/no-unused-vars': 'warn', | ||
'@typescript-eslint/no-var-requires': 'warn', | ||
'@typescript-eslint/no-empty-function': 0, | ||
'@typescript-eslint/ban-types': 'warn', | ||
'@typescript-eslint/ban-ts-comment': 'warn', | ||
'@typescript-eslint/ban-ts-comment': 0, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is not fixing the warnings, it's suppressing them. Please remove from this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will going to work on this PR gradually, currently I'm working on cleaning the ban-types. Although, the ban-ts comment only used three time on project and it used only to suppress react-vis
problem.
Signed-off-by: priyanshu-kun <priyanshushrama709@gmail.com>
const critcalPathViewBounds = getViewedBounds(each.section_start, each.section_end); | ||
const criticalPathViewStart = critcalPathViewBounds.start; | ||
const criticalPathViewEnd = critcalPathViewBounds.end; | ||
return ( | ||
<div | ||
key={index} | ||
key={each.spanId} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not semantically equivalent change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
semantically equivalent change? Should I put type number here as key?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are you changing it in the first place? I would leave it for another PR.
@@ -10,13 +10,13 @@ | |||
// distributed under the License is distributed on an "AS IS" BASIS, | |||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||
// See the License for the specific language governing permissions and | |||
// limitations under the License. | |||
// limitations under the License |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Revert please
Co-authored-by: Yuri Shkuro <yurishkuro@users.noreply.github.com> Signed-off-by: Priyanshu Sharma <priyanshushrama709@gmail.com>
Which problem is this PR solving?
Description of the changes
Checklist
jaeger
:make lint test
jaeger-ui
:yarn lint
andyarn test