google / globalfoundries-pdk-libs-gf180mcu_fd_pv

Apache License 2.0
12 stars 6 forks source link

Enabling more restrictive rubocop rules in ruby linting #46

Closed FaragElsayed2 closed 1 year ago

FaragElsayed2 commented 1 year ago
atorkmabrains commented 1 year ago

@proppy Please review.

atorkmabrains commented 1 year ago

@proppy This fixes: #40

proppy commented 1 year ago

@atorkmabrains can you remove Draft if it's ready for review?

FaragElsayed2 commented 1 year ago

Hi @atorkmabrains and @proppy

proppy commented 1 year ago

Great work!

Maybe we could enable those two rules, and add expection on a per line basis with the following comments at the end of line that are doing this?

# rubocop:disable Lint/UselessAssignment Style/GlobalVars
atorkmabrains commented 1 year ago

Thanks @proppy

I was reviewing with Farag if we can do the suggestion above. But I believe it will be hard as we will have to add this comment all over the code.

Appreciate if we could keep it as disabled.

atorkmabrains commented 1 year ago

@proppy We appreciate if you could approve this as we need to move all the tables one by one here.

proppy commented 1 year ago

Sure thanks for working on this /cc @mithro