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

[precommit] lint ts files with eslint #36218

Merged
merged 1 commit into from
May 7, 2019

Conversation

spalger
Copy link
Contributor

@spalger spalger commented May 7, 2019

@dgieselaar noticed that TypeScript files are not being linted in the precommit hook, due to a filter that only lets js files pass. Adding a file.isTypescript() check there fixes the problem.

Seems this has been a problem #33826

@spalger spalger added Team:Operations Team label for Operations Team non-issue Indicates to automation that a pull request should not appear in the release notes v8.0.0 v7.2.0 labels May 7, 2019
@spalger spalger requested review from dgieselaar and mistic May 7, 2019 17:21
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-operations

Copy link
Member

@dgieselaar dgieselaar left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for the quick fix!

Copy link
Member

@mistic mistic left a comment

Choose a reason for hiding this comment

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

LGTM, nice one @spalger

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@spalger spalger merged commit 0c2e086 into elastic:master May 7, 2019
spalger pushed a commit to spalger/kibana that referenced this pull request May 7, 2019
spalger pushed a commit to spalger/kibana that referenced this pull request May 7, 2019
@spalger spalger added the v7.1.0 label May 8, 2019
@spalger
Copy link
Contributor Author

spalger commented May 8, 2019

7.x/7.2: 9079b26
7.1: dcdd8dd

@spalger spalger deleted the implement/precommit-lint-ts-files branch May 8, 2019 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
non-issue Indicates to automation that a pull request should not appear in the release notes Team:Operations Team label for Operations Team v7.1.0 v7.2.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants