Skip to content
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

feat: Deprecate from chectl tslint and add eslint with check license headers #1280

Merged
merged 6 commits into from
Jun 9, 2021

Conversation

flacatus
Copy link
Collaborator

@flacatus flacatus commented Jun 7, 2021

Signed-off-by: Flavius Lacatusu [email protected]

What does this PR do?

This PR deprecate tslint and add support for eslint. Also this PR add eslint license header checks.

Refference issue: eclipse-che/che#19647

Screenshot/screencast of this PR

N/A

What issues does this PR fix or reference?

N/A

How to test this PR?

N/A

PR Checklist

As the author of this Pull Request I made sure that:

Reviewers

Reviewers, please comment how you tested the PR when approving it.

@flacatus flacatus changed the title feat: Deprecate from chectl tslint and eslint and check license headers feat: Deprecate from chectl tslint and and add eslint with check license headers Jun 7, 2021
@tolusha tolusha mentioned this pull request Jun 7, 2021
47 tasks
@flacatus flacatus changed the title feat: Deprecate from chectl tslint and and add eslint with check license headers feat: Deprecate from chectl tslint and add eslint with check license headers Jun 7, 2021
Signed-off-by: Flavius Lacatusu <[email protected]>
Signed-off-by: Flavius Lacatusu <[email protected]>
@flacatus flacatus requested a review from benoitf June 8, 2021 09:04
Copy link
Collaborator

@benoitf benoitf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM,

just finding the if {} if {} if {} harder than the if else if

@openshift-ci openshift-ci bot added lgtm and removed lgtm labels Jun 8, 2021
Signed-off-by: Flavius Lacatusu <[email protected]>
package.json Outdated Show resolved Hide resolved
* Copyright (c) 2020 Red Hat, Inc.
*
/**
* Copyright (c) 2019-2021 Red Hat, Inc.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't it be 2020-2021?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Old files should be 2019-2021
New files 2021-2021?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file was changed automatically by eslint

src/api/che-login-manager.ts Show resolved Hide resolved
.eslintrc.js Outdated Show resolved Hide resolved
@openshift-ci
Copy link

openshift-ci bot commented Jun 8, 2021

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: benoitf, flacatus, tolusha

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci
Copy link

openshift-ci bot commented Jun 8, 2021

New changes are detected. LGTM label has been removed.

Signed-off-by: Flavius Lacatusu <[email protected]>
Signed-off-by: Flavius Lacatusu <[email protected]>
@flacatus
Copy link
Collaborator Author

flacatus commented Jun 8, 2021

/retest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants