Masafumi Koba

Results 64 issues of Masafumi Koba

Hello, I'm in trouble because I cannot distinguish a fatal error from a rule violation by the exit code. 😰 https://github.com/soutaro/querly/blob/6bfde87138185195016b3b67eb4387392db9811d/lib/querly/cli/test.rb#L36-L41 https://github.com/soutaro/querly/blob/6bfde87138185195016b3b67eb4387392db9811d/lib/querly/cli.rb#L59-L61 Without parsing the output (STDOUT and STDERR), is...

Hello, I want to parse the output of the `querly test` command more easily and safely. So, what do you think about the suggestion to add a new option `--format=json`...

Even if the following incorrect `querly.yml` is given, Querly succeeds. I think good that the `querly test` command could tell such incorrectness. ```yaml # querly.yml rules: - id: sample.foo pattern:...

Currently, the `examples:` field is supported in `querly.yaml`, but the documentation is missing. https://github.com/soutaro/querly/blob/55b2a6dd71c03d2e9a3268a203ef526d9dfaf4ef/template.yml#L18-L26 Current documentation in [`manual/configurarion.md`](https://github.com/soutaro/querly/blob/55b2a6dd71c03d2e9a3268a203ef526d9dfaf4ef/manual/configuration.md#rules): ![image](https://user-images.githubusercontent.com/473530/57296766-c167e780-7108-11e9-8895-84d920419edd.png)

To save Querly users from typos on `querly.yml`, I strongly suggest checking the schema of `querly.yml`. For example, because I couldn't notice a typo like `except` and `expect`, my configuration...

Hello. I have some reason not to be able to use `Oj`, so is there a way to use another JSON library like the standard library `JSON` instead of `Oj`?...

enhancement

Hi, thank you for providing the `optparse` types! But, when I try the types with Steep, I get the following error: 😢 ``` a.rb:6:2: [error] Cannot find compatible overloading of...

bug

When I've recently opened PR to [add signatures of the Parallel gem](https://github.com/ruby/gem_rbs_collection/pull/21) on the ruby/gem_rbs_collection repository, I encounter the following difficulty: ```ruby # Ruby code items = [1, 2, 3]...

Hello, I find a bug that the `rbs prototype runtime Object` command fails on **Ruby 3.0** (it succeeds on Ruby 2.7). Please see the reproduction below for details. ## Reproduction...

I noticed that the `IO.write` and `Pathname#write` method definitions do not have a `:perm` option. https://github.com/ruby/rbs/blob/c922491270703787716c022774ad7c8e61db1529/stdlib/builtin/io.rbs#L531 https://github.com/ruby/rbs/blob/c922491270703787716c022774ad7c8e61db1529/stdlib/pathname/pathname.rbs#L1029-L1039 The related `IO.write` document says: > **:perm** > integer > Specifies the perm...