Commit Graph

11 Commits

Author SHA1 Message Date
Satadru Pramanik, DO, MPH, MEng
2f578f414c Adjust linter rule... (#8860)
* chdir before using git

* fix rubocop complaint

* adjust lint rule

* expand logic of path env.d check

* bump
2023-10-31 21:16:27 -05:00
Maximilian Downey Twiss
2f42ff39cc Run Rubocop on tree, again (#8704) 2023-09-29 07:51:08 -04:00
Maximilian Downey Twiss
41a708c1c5 Refactor workflow files (#8355)
* Refactor workflow files

* Fix YAMLlint errors
2023-06-13 23:42:56 -04:00
Satadru Pramanik, DO, MPH, MEng
006250d9e7 fix linecontinuation issue (#8160) 2023-04-06 13:30:52 -05:00
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