-
Notifications
You must be signed in to change notification settings - Fork 24
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
Add rubocop #102
Conversation
Co-authored-by: Ashley Willard <[email protected]>
praise our robot overlords rubocop happy Add version Remove empty block Co-authored-by: Ashley Willard <[email protected]>
Co-authored-by: Ashley Willard <[email protected]>
else | ||
Private.tracked_files | ||
end | ||
files.select { |f| Private.file_tracked?(f) } |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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| |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
white space
There was a problem hiding this comment.
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}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
white space
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
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