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 rubocop #102

Merged
merged 3 commits into from
Jul 12, 2024
Merged

Add rubocop #102

merged 3 commits into from
Jul 12, 2024

Conversation

tstannard
Copy link
Contributor

@tstannard tstannard commented Jul 12, 2024

Add rubocop and fix violations

"Adding the rubocop config from rubyatscale/code_teams#14 to make sure that rubyatscale projects follow a consistent set of style rules." -Joey

fixes #99

tstannard and others added 2 commits July 12, 2024 13:21
praise our robot overlords
rubocop happy

Add version
Remove empty block

Co-authored-by: Ashley Willard <[email protected]>
@tstannard tstannard changed the title Add rubocop and all the things that could be autocorrected Add rubocop Jul 12, 2024
else
Private.tracked_files
end
files.select { |f| Private.file_tracked?(f) }
Copy link
Contributor

Choose a reason for hiding this comment

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

What's with all the white space?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

i know 🤖

else
nil
end
ENV.fetch('CODEOWNERS_GIT_STAGED_FILES') { `git diff --staged --name-only` }.split("\n").select do |file|
Copy link
Contributor

Choose a reason for hiding this comment

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

white space

Copy link
Contributor Author

Choose a reason for hiding this comment

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

🏃‍♀️💨

else
"/#{path} #{team_mapping}"
end
"# /#{path} #{team_mapping}"
Copy link
Contributor

Choose a reason for hiding this comment

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

white space

Copy link
Contributor Author

Choose a reason for hiding this comment

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

🚀

@tstannard tstannard merged commit d4eccb5 into main Jul 12, 2024
5 checks passed
@tstannard tstannard deleted the aw/ts/add_rubocop branch July 12, 2024 20:51
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.

Add Rubocop and move to shared config
2 participants