Visitar URL original
Add file consistency linters by boardfish · Pull Request #1206 · github/view_component · GitHub
The Wayback Machine - https://web.archive.org/web/20220624034559/https://github.com/github/view_component/pull/1206
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

Add file consistency linters #1206

Merged
merged 4 commits into from Dec 14, 2021
Merged

Add file consistency linters #1206

merged 4 commits into from Dec 14, 2021

Conversation

boardfish
Copy link
Collaborator

@boardfish boardfish commented Dec 14, 2021 •

Summary

Adds linters to check that there are:

  • newlines at the end of each file
  • no merge conflicts
  • no trailing whitespace

Also fixes any files that would fail these linters.

Other Information

We've used each of these linters at @raisedevs for some time. I maintain the trailing whitespace linter as a fork - I hope that's acceptable.

@boardfish boardfish marked this pull request as ready for review Dec 14, 2021
@boardfish boardfish requested review from dylanatsmith, Spone and as code owners Dec 14, 2021
@boardfish boardfish linked an issue Dec 14, 2021 that may be closed by this pull request
Copy link
Contributor

@joelhawksley joelhawksley left a comment

👏🏻

I'm find with adding a forked linter as it's not part of the published gem 👍🏻

@joelhawksley joelhawksley merged commit 37a26e6 into main Dec 14, 2021
38 checks passed
@joelhawksley joelhawksley deleted the lint-for-trailing-whitespace branch Dec 14, 2021
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.

2 participants