Commit Graph

7 Commits

Author SHA1 Message Date
Satadru Pramanik
90cbf8e85e rubocop: allow CapitalW (#7499) 2022-10-15 20:06:38 -05:00
supechicken
ce3f25aa40 rubocop: Disable some cops (#7494)
* Update .rubocop.yml

* rubocop: Disable some cops
2022-10-14 10:55:24 -05:00
supechicken
0c0db3c649 rubocop: Disable Layout/SpaceInsideParens cop (#7465) 2022-10-08 09:47:42 -04:00
Maximilian Downey Twiss
b5e4cedb0d Re-enable And/Or cop, lint tree (#7457) 2022-10-05 20:16:53 -05:00
supechicken
db5a2c68e6 Disable And/Or check, re-enable trailing space check (#7456) 2022-10-04 09:16:08 -04:00
Maximilian Downey Twiss
de24923ee8 Add Rubocop CI (#7083)
* Rename IgnoredPatterns to AllowedPatterns.

* Exclude docopt.rb (not our code) from Rubocop

* Disable Style/RedundantReturn

* Disable Style/MutableConstant

* Disable Style/NumericLiterals

* Set Layout/IndentationStyle to spaces

* Temporarily disable various cops.

* Add Rubocop CI via Octocop

* Lint tree with rubocop -A -c .rubocop.yml

Co-authored-by: Satadru Pramanik <satadru@gmail.com>
2022-08-22 13:31:25 -04:00
Satadru Pramanik
1e2068af78 Default Rubocop linter config for Chromebrew Take 2.5 (#6266)
* Default Rubocop linter config for Chromebrew

* Add package

* remove gem in self.remove, add xdg_base dep

* refactor

* rebuild and fixup typos

* refactor to use gem installer

* run linter on package file

* suggested changes
2022-03-31 21:57:10 -05:00