Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/ronin-rb/ronin-template
Ronin library template
https://github.com/ronin-rb/ronin-template
ee085a14380c28ebc8b067372d382b46c31b6591 authored about 1 year ago
2a63e0f6bf03c313d70f11d0737a02a7afa1c31a authored about 1 year ago
0a1d256b6f9bfb71de02f850aff61297cb4326fd authored over 1 year ago
86df5faa261de2dda796af0f87b340ae656410bc authored over 1 year ago
c7715b11b73afda2f96b100da213c664dc65c90b authored over 1 year ago
5f77dc3d823c6f27fec861636adc3a5d1ed2e1c9 authored over 1 year ago
910e6adb27b2dae2789c5786f02cd49aa64d36a8 authored almost 2 years ago
1c892c77d1ab302a45e05cd490376bfeafbedd52 authored almost 2 years ago
40948e258810b97bd807c89957d60b19014a5ef9 authored almost 2 years ago
143f406c5263cf914d047c8be00eea3b558ea40a authored almost 2 years ago
8f6e5ac21a18a7d91f9256ab026b865dd4cde80b authored almost 2 years ago
1bfa64e8ae689890c35fc74a60ad41871016d03d authored almost 2 years ago
acc95a4fc0174fcd9777d42949469ae93ac86366 authored almost 2 years ago
be248e4fa5f61d92f68ef051aaf6519b4d4f3cbc authored almost 2 years ago
* This rule is not aware of when keyword arguments are vertically
aligned with the first keywo...
* It's useful to use STDOUT directly in specs, but otherwise use
`$stdout` in `lib/` code.
* I prefer `has_foo?` style method names.
3c85dcc9c648fc3b81eed7b18ea24b923c735a87 authored almost 2 years ago
* This conflicts with methods where a required keyword argument is at
the very end of the keyw...
0f1e0f082d0c16620f76eb38074672122ab22765 authored almost 2 years ago
a039fa1abdc7ab22a12b11049cae2acb00916c19 authored almost 2 years ago
1e1c2a3aeaa78f3d6715396dd49fea770807138c authored almost 2 years ago
78bf89f7365b5397bc6822110294d9728a0a6198 authored almost 2 years ago
e391b7ea060f6b48264f9f9120002d7d1d3b6c81 authored almost 2 years ago
* I prefer to use double quotes for english text, URLs, RSpec descriptions.
50e0ea0e7af20cecc897c967d6a712647469a8ed authored almost 2 years agob9c78f4e9333c91be23025f5f7b7ab44baff7357 authored almost 2 years ago
0a6aac17f8836183e9dac60a413dc33b738e2a5f authored almost 2 years ago
2e9e6214e3058ce003d77dac7e8ae3651aab45a2 authored almost 2 years ago
1fe6a2c5bb6408cb9d12732cf29e9405f413750a authored almost 2 years ago
* I use a space before the comma to indicate that a keyword argument
requires a value:
```r...
af40588d1f5971baa392ca8c3de7123655655c78 authored almost 2 years agof5c0dbea9a8838586bf8466222fc4eb2340a5221 authored almost 2 years ago
27e267faf951f27452473706f0ef3a0fe21f48b3 authored almost 2 years ago
* I use sole-nested conditions frequently instead of safe-navigation or
to breakup complex if ...
* If the programmer uses `rescue => error` without an exception class,
then they most likely w...
e12c0b0db6d37a572b191b2f8875c641d4d795c4 authored almost 2 years ago
* I prefer to escape the `.` within regexp `[ ]` character sets, even
though it's apparently n...
c9bb554bb17d435a8600a57d26771bfe475b288f authored almost 2 years ago
* I always use double quotes when created quoted Symbols.
6aa04b35c8c6c36d7545159bfd293396e3f8777e authored almost 2 years ago* I prefer `has_key?`/`has_value?` to `key?`/`value?`.
e86e7eed3e1fbbe849f9c2800a34947f9455c384 authored almost 2 years ago* Let the programmer group conditions using parentheses as they see fit.
745c754e98a87f9ef87426ebc5032fa2801fa42a authored almost 2 years ago* Exclude files which need to define empty place holder methods.
ac98bad336ee31782ea931b221cccf9168af4ded authored almost 2 years ago
* I prefer to define accessors one per-line. Sometimes I will group them
in the specs.
91bf8bfb1046ebbf29671e4c7f096368bf080cbf authored almost 2 years ago
* Exclude the `spec/` directory though.
c708b2d12f010a3c610bcb3e871d873ed59251d0 authored almost 2 years agoa2eb3078fec12e566374693d8df205a35e0d928b authored almost 2 years ago
* It is valid to put optional arguments at the beginning or in the
middle of a method's argume...
* We are adult programmers here, we can compare values to `0` or greater
than `0` without usin...
5e58c1f1af9760cd4e40efa4f02f654fc2f70f8f authored almost 2 years ago
b15ddb63c6b5b0d42148181721f6bae64421cfae authored almost 2 years ago
0ec29b581b7e600aea11f9f6af259f38aca02027 authored almost 2 years ago
c9df4f895b40adca39f83703fe03a370b8e7ca6a authored almost 2 years ago
030f4125a94cf79efacd1ce3daa0cc25b42ecec6 authored almost 2 years ago
87e377d998e7702401be3811631c7e8748674b81 authored almost 2 years ago
* Exclude specific files that do not need to call `super()` because the
superclass does not de...
adf6549b0f9fafe367138e6cf9e05fe069b70c04 authored almost 2 years ago
51a3bff3eea343a5f937b715b906e5e1ae3c54ea authored almost 2 years ago
84261457c4c146867d454439544cab071da4e2c8 authored almost 2 years ago
* This rule cannot detect when blocks are aligned after an `=`
assignment:
```ruby
foo = ...
* Sometimes I prefer using `%w[]` word arrays, and sometimes I prefer to
use explicit `[]` Str...
2b6bdb15a4e8bb905108605110fd77517f6baa5b authored almost 2 years ago
* I am not a fan of the new safe-navigation operator (`&.`).
4d19451177794a530698914d958fc4c2a416d6d9 authored almost 2 years ago* I often prefer to use explicit `return`s to indicate the return value.
9f2902ed52253d3590e3207cbc01a94f6b78f1be authored almost 2 years ago6682d7e275c3e44bacab54b3ac68d737cbc5b46f authored almost 2 years ago
* Sometimes it might be necessary to leave constants mutable.
2d7729b10e9d5dceb3e9d7977a62fcda881f7409 authored almost 2 years ago* Configure it to prefer stabby lambdas.
ef69979101af1dc6de5bb738364ec56de6d286e5 authored almost 2 years ago
* I prefer to define keyword arguments in the order they will typically
be given to a method-c...
aa9ee53eac63b8867f3322e4f989a69a3b1d3299 authored almost 2 years ago
a014656153cabe2cc629564cafaa5c20d3499b14 authored almost 2 years ago
c6614263be1cd54ee011814d845cd6d9856a16cd authored almost 2 years ago
20acb9a47132f4c05e8c6c3bac1972148f4ac3b1 authored almost 2 years ago
* I prefer to sometimes compress `if`/`else` statements to three lines:
```ruby
if conditio...
* The `$/` global variable, which represents the Operating System's
new-line deliminator, is u...
* I prefer to use explicit multi-line `if`/`unless` when raising
exceptions or returning value...
* Not a fan of *always* using guard clauses (ex: `return unless var`)
over explicit `if`/`unle...
ee7fa3cff9af61f6ee903e7bc5b943f51272f9ff authored almost 2 years ago
* Exclude the `spec/` directory though.
0777101a4954b251e28f95dfb88216fc420db1ec authored almost 2 years ago73c6643c896f02dfb6c363786c8c17bca073920b authored almost 2 years ago
* I am a fan of `.kind_of?(ClassName)` over `.is_a?(ClassName)`.
aff2455235319efa37b2f74e1acedbc1b74f8b30 authored almost 2 years ago
* The defacto rule is to use `{` `}` blocks when chaining together
multiple method calls. This...
d7978d471cf0f7b11f4dffa2048b8a604b519614 authored almost 2 years ago
* This clashes with Ronin's overall style of not adding a space after
`{` or before `}`.
* Variable names should be descriptive. Shortening `error` to `e` makes
the code *less* readable.
* This rule is not configurable and we use spaces after the comma for
Hashes and method-calls ...
* It's unaware of different alignments of groupings of keys/values,
and tries to validate alig...
731ed0704eb34396d611efadbcd87cdf1c02d6be authored almost 2 years ago
b107a4b0e0e6e7836c88f4cd26d1522e90c8d989 authored almost 2 years ago
bdf6d7c712e9390e8e55f614d45f185995fd3eae authored almost 2 years ago
e64fa25147413e45344b8393b491c69cdb2407e2 authored about 2 years ago
81bd97cb9a0a8bd5f74d40029b2a0a9061f9a260 authored about 2 years ago
3faa590fe534549beae6c427bb2615430bfddc25 authored about 2 years ago
c2e419df97890e6a79849c0792eec21ec62f6321 authored about 2 years ago
2c4c882a94b7c3aa46be5de4041ce7905ff78f80 authored about 2 years ago
938ef8c670549af7db603e55159d5332ba6ec561 authored about 2 years ago
2dd7a139c672853598ef499e3deb906b057231fd authored about 2 years ago
3565cd1cffc02bcbf1ba2b50c6b7eb1986513146 authored about 2 years ago
df2b4113378684a2e6b63e288d2ee525aa05331a authored about 2 years ago
4ea0e1663edacb11cd8f017f97bcb2b619c5104a authored about 2 years ago
9309a273f0e44ebc47886cc6cdf1fe9c2648383e authored about 2 years ago
3cbe59565f375a6e351adb6d49c9a49ece120783 authored about 2 years ago
1f4aec64b067c05b50a92d069efc7daf44e4ba2d authored about 2 years ago
9333499cae419dd0b7da9fdbf587f04156f29ad1 authored about 2 years ago