Douglas Eichelberger

Results 28 issues of Douglas Eichelberger

#### Input [→ View on sorbet.run](https://sorbet.run/#%23%20typed%3A%20true%0A%0Aif%20%28path%20%3D%20Pathname%28'my_file'%29%29%20%26%26%20path.exist%3F%0A%20%20puts%20path.expand_path.to_s%0Aelse%0A%20%20puts%20%22path%20doesn't%20exist%22%0Aend) ```ruby # typed: true if (path = Pathname('my_file')) && path.exist? puts path.expand_path.to_s else puts "path doesn't exist" end ``` #### Observed output ``` editor.rb:3:...

bug
unconfirmed

I'm attempting to apply the default rules set to existing proto files. My understanding is that applying `-auto_disable` should apply the appropriate comment for disabling. However, I still see violations...

I have some `rpc`s that added a disable following an invocation of `protolint lint -auto_disable=this .`: ```protobuf service OrgSubscriptionGrpcManager { rpc findCurrentOrgSubscription (FindCurrentOrgSubscriptionRequest) returns (OneOrgSubscriptionResponse) { // protolint:disable:this RPC_NAMES_UPPER_CAMEL_CASE //...

# Description Resolves https://github.com/lsegal/yard/issues/1315, as well as adding support for squiggly heredocs # Completed Tasks - [x] I have read the [Contributing Guide][contrib]. - [x] The pull request is complete...

**Is your feature request related to a problem? Please describe.** I would like an option to place Sorbet `sig`s in the source file, rather than a separate .rbi file, to...

enhancement

I would like to enable `FIELDS_HAVE_COMMENT`, but to exclude a list of field names that are self-explanatory in context (e.g. `timestamp`, `email`, `id`).

enhancement

The various "Learn more:" links in the README seem to be broken, e.g. Learn more: [Redis Server Configurations](https://github.com/chanzuckerberg/redcord/blob/master/docs/redis_server_configurations.md) Learn more: [Redcord Model](https://github.com/chanzuckerberg/redcord/blob/master/docs/redcord_model.md) Learn more: [Querying interface](https://github.com/chanzuckerberg/redcord/blob/master/docs/querying_interface.md)

-------- ## Expected behavior Per https://github.com/rubocop/rubocop/pull/11020#issuecomment-1258896001 the autocorrect for Lint/UnusedMethodArgument should update the Sorbet type signature, e.g. ```ruby sig { params(x: Integer).void } def foo(x); end ``` should autocorrect to:...

### Verification - [x] This issue's title and/or description do not reference a single formula e.g. `brew install wget`. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead. ### Provide...

help wanted
features

See https://github.com/ruby/bigdecimal/blob/f8928e22faa73444db75a9dbb7690eede4f2a9fd/lib/bigdecimal/util.rb#L171-L185