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

Include validator code in lint and presubmit checks #13966

Closed
rsimha opened this issue Mar 13, 2018 · 7 comments · Fixed by #21212
Closed

Include validator code in lint and presubmit checks #13966

rsimha opened this issue Mar 13, 2018 · 7 comments · Fixed by #21212

Comments

@rsimha
Copy link
Contributor

rsimha commented Mar 13, 2018

The code in validator is currently exempted from gulp lint and gulp presubmit. It's probably worth removing these exemptions, so that the validator code can benefit from all the new checks we've recently put in place (to the extent it makes sense to do so).

See https://github.com/ampproject/amphtml/blob/master/build-system/config.js#L125-L158

@rsimha
Copy link
Contributor Author

rsimha commented Mar 13, 2018

@ampprojectbot ampprojectbot added this to the Pending Triage milestone Jun 5, 2018
@Gregable Gregable modified the milestones: Pending Triage, Backlog Bugs Jul 16, 2018
@ampprojectbot
Copy link
Member

This issue hasn't been updated in awhile. @Gregable Do you have any updates?

@honeybadgerdontcare
Copy link
Contributor

@rsimha is this covered by #18601 or do we need to do more than fixing those lint issues?

@rsimha
Copy link
Contributor Author

rsimha commented Oct 16, 2018

Yeah, the issues are similar. #18601 was for fixing the lint errors, and this issue was for updating the rules used to lint validator/. I have no objections to combining the two into one issue.

@honeybadgerdontcare
Copy link
Contributor

Ah, so this issue is "turn on linter errors" once all lint issues are fixed.

@ampprojectbot
Copy link
Member

This issue hasn't been updated in awhile. @Gregable Do you have any updates?

@rsimha
Copy link
Contributor Author

rsimha commented May 16, 2019

Per conversation with @Gregable, validator/ can rely on internal g4 lint rules. This issue is obsolete, and will be closed by #21212.

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

Successfully merging a pull request may close this issue.

5 participants